python-zenoss-client
Zenoss API client for python
Installation
pip install python-zenoss-client
Usage
- Connect
from zenoss_client import ZenossClient
api = ZenossClient(host="localhost", user="zenuser", passwd="*****")
- API call: The long way
endpoint = api.endpoint('device_router')
action = endpoint.action('DeviceRouter')
method = action.method('getDevices')
method(params={'name': 'testdevice'})
- API call: The sorter way
api.endpoint('device_router').action('DeviceRouter').method('getDevices')(params={'name': 'testdevice'})
- API call: The sortest way
api.device_router.DeviceRouter.getDevices(params={'name': 'testdevice'})
- With timeout
api.device_router.DeviceRouter.getDevices(params={'name': 'testdevice'}, timeout=10)
Documentation
This module is inspired by json_api.sh SHELL script published on zenoss official wiki
For full documentation of zenoss API, kindly refer to the link below:
zenoss official documentation
- Conventional naming of routers
Products.Zuul.routers.device -> device_router
Products.Zuul.routers.users -> users_router
Products.Zuul.routers.triggers -> triggers_router
Metadata
Release files for python-zenoss-client 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-zenoss-client-1.0.1.tar.gz | 4.3 kB | Without provenance | Details for python-zenoss-client-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_zenoss_client-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for python_zenoss_client-1.0.1-py3-none-any.whl |
Total release size: 8.7 kB
Release files / python-zenoss-client-1.0.1.tar.gz
| Download URL | python-zenoss-client-1.0.1.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29c68c8d801aa7fce8d481a45d175001cf7b890f43a977ed335a446f2c77b3fc
|
|
BLAKE2b-256 checksum How to use checksums |
5616d2e89abb457bc908e8f2b60d612b510a81937b496b77c815a4a0c62f40d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.5.3
|
Release files / python_zenoss_client-1.0.1-py3-none-any.whl
| Download URL | python_zenoss_client-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2242a83d5a586aa35aff5156ad12534644efd938b4e0d8de6a6a6ff2c26d6a9
|
|
BLAKE2b-256 checksum How to use checksums |
57781f814df955da10bd460d3ba45674c30f059eed557083d611a4ddfdd0ed8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.5.3
|
Security for python-zenoss-client 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.