Metadata-Version: 2.1
Name: spectrum-client
Version: 0.0.9
Summary: CA Spectrum Web Services API wrapper
Home-page: https://github.com/orgito/spectrum-client
Author: Renato Orgito
Author-email: orgito@gmail.com
Maintainer: Renato Orgito
Maintainer-email: orgito@gmail.com
License: MIT
Project-URL: Bug Reports, https://github.com/orgito/spectrum-client/issues
Project-URL: Source, https://github.com/orgito/spectrum-client
Keywords: spectrum-client network monitoring spectrum
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: System :: Monitoring
Classifier: Topic :: System :: Networking :: Monitoring
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests

# spectrum-client

[![image](https://img.shields.io/pypi/v/spectrum-client.svg?style=flat-square)](https://pypi.org/project/spectrum-client)
[![image](https://img.shields.io/pypi/pyversions/spectrum-client.svg?style=flat-square)](https://pypi.org/project/spectrum-client)
[![image](https://img.shields.io/pypi/l/spectrum-client.svg?style=flat-square)](https://pypi.org/project/spectrum-client)

---

CA Spectrum Web Services API wrapper

## Instalation
spectrum-client is distributed on PyPI and is available on Linux/macOS and Windows and supports Python 3.6+.

``` bash
$ pip install -U spectrum-client
```

## Usage

``` python
from spectrum_client import Spectrum

spectrum = Spectrum('http://oneclick.mydomain:8080', 'myuser', 'secret')

# Update a model attribute
spectrum.update_attribute(0x210afa,0x10024,'MySNMPSecret')
```

If not provided, server and credentials will be read from the environment variables `SPECTRUM_URL`, `SPECTRUM_USERNAME`, `SPECTRUM_PASSWORD`.

