{ "info": { "author": "Arijit Basu", "author_email": "sayanarijit@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: POSIX", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Utilities" ], "description": "# python-zenoss-client\n\n[![PyPI version](https://img.shields.io/pypi/v/python-zenoss-client.svg)](https://pypi.python.org/pypi/python-zenoss-client)\n[![Build Status](https://travis-ci.org/sayanarijit/python-zenoss-client.svg?branch=master)](https://travis-ci.org/sayanarijit/python-zenoss-client)\n\nZenoss API client for python\n\n\n### Installation\n\n```bash\npip install python-zenoss-client\n```\n\n### Usage\n\n* Connect\n\n```python\nfrom zenoss_client import ZenossClient\n\napi = ZenossClient(host=\"localhost\", user=\"zenuser\", passwd=\"*****\")\n```\n\n* API call: The long way\n\n```python\nendpoint = api.endpoint('device_router')\naction = endpoint.action('DeviceRouter')\nmethod = action.method('getDevices')\n\nmethod(params={'name': 'testdevice'})\n```\n\n* API call: The sorter way\n\n```python\napi.endpoint('device_router').action('DeviceRouter').method('getDevices')(params={'name': 'testdevice'})\n```\n\n* API call: The sortest way\n\n```python\napi.device_router.DeviceRouter.getDevices(params={'name': 'testdevice'})\n```\n\n* With timeout\n\n```python\napi.device_router.DeviceRouter.getDevices(params={'name': 'testdevice'}, timeout=10)\n```\n\n### Documentation\n\nThis module is inspired by [json_api.sh](http://wiki.zenoss.org/Working_with_the_JSON_API#v5_version_of_the_json_api.sh) SHELL script published on [zenoss official wiki](http://wiki.zenoss.org)\n\nFor full documentation of zenoss API, kindly refer to the link below:\n### [zenoss official documentation](https://www.zenoss.com/services-support/documentation/zenoss-json-api-0)\n\n* Conventional naming of routers\n```\nProducts.Zuul.routers.device -> device_router\nProducts.Zuul.routers.users -> users_router\nProducts.Zuul.routers.triggers -> triggers_router\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/sayanarijit/python-zenoss-client/archive/v1.0.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sayanarijit/python-zenoss-client", "keywords": "zenoss json api client", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "python-zenoss-client", "package_url": "https://pypi.org/project/python-zenoss-client/", "platform": "", "project_url": "https://pypi.org/project/python-zenoss-client/", "project_urls": { "Download": "https://github.com/sayanarijit/python-zenoss-client/archive/v1.0.1.tar.gz", "Homepage": "https://github.com/sayanarijit/python-zenoss-client" }, "release_url": "https://pypi.org/project/python-zenoss-client/1.0.1/", "requires_dist": [ "requests (==2.20.0)" ], "requires_python": "", "summary": "Zenoss API client for python", "version": "1.0.1" }, "last_serial": 4439673, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "eef3aaae34c04ccbb081e4582ad0e291", "sha256": "e6526ab7baf641e63173490ed748b0799df95126f6879c242ffb048d009d1648" }, "downloads": -1, "filename": "python-zenoss-client-0.0.1.tar.gz", "has_sig": false, "md5_digest": "eef3aaae34c04ccbb081e4582ad0e291", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4157, "upload_time": "2018-02-28T14:25:59", "url": "https://files.pythonhosted.org/packages/6c/1b/4badce63dca1cbe7c66929769f37efb8ed98174c2fe2d50ccb8d6cbfb4f2/python-zenoss-client-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "518e322fc6de736d0ed504286081ea89", "sha256": "77b59dc1fbd3db1a0e6477f736db71bc4d7a946d9706a31f7a70b283558f56e8" }, "downloads": -1, "filename": "python-zenoss-client-0.0.2.tar.gz", "has_sig": false, "md5_digest": "518e322fc6de736d0ed504286081ea89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4082, "upload_time": "2018-02-28T14:33:26", "url": "https://files.pythonhosted.org/packages/d3/94/84e3aa917f36ff6c56e285826a58f52c5d4ac63ad7312d5ba5952eebc9cd/python-zenoss-client-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "44d0077fc384c5708ba5b26e754944ef", "sha256": "0b97a12973f702d6d4a24faa52df5eada8377888feee38af1c189981d8fe405c" }, "downloads": -1, "filename": "python-zenoss-client-0.0.3.tar.gz", "has_sig": false, "md5_digest": "44d0077fc384c5708ba5b26e754944ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4208, "upload_time": "2018-02-28T18:27:38", "url": "https://files.pythonhosted.org/packages/0d/e9/bc19e8c7fb90704250686b2d223be242362fff93eaa725035ca5eadb26dc/python-zenoss-client-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "ebe8e395a6e23f1a81ddc89df859ec7b", "sha256": "84800aa3fcb0c96355cf38b9c9fb2afe0e949058f56085fcbc6275ee5309e346" }, "downloads": -1, "filename": "python-zenoss-client-0.0.4.tar.gz", "has_sig": false, "md5_digest": "ebe8e395a6e23f1a81ddc89df859ec7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4270, "upload_time": "2018-03-02T07:07:16", "url": "https://files.pythonhosted.org/packages/1f/00/eaea914d50e5a832bbe3539379a28841ca1a2e23b2d2bf4727aa351edf76/python-zenoss-client-0.0.4.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "29ecffcc629ac2702d297b5c66665ae6", "sha256": "e292474f4abb78885aaea8b5eeaa857eeed7aa5b21339572432e21ff9baa9cbd" }, "downloads": -1, "filename": "python-zenoss-client-1.0.0.tar.gz", "has_sig": false, "md5_digest": "29ecffcc629ac2702d297b5c66665ae6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4253, "upload_time": "2018-03-02T10:22:11", "url": "https://files.pythonhosted.org/packages/a2/66/b5f4634a1bbf029738197d94d3ac98f44d8fa3c0211e1ba27069247b9cbe/python-zenoss-client-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "155a7286d1941228f8449448582f7d69", "sha256": "d2242a83d5a586aa35aff5156ad12534644efd938b4e0d8de6a6a6ff2c26d6a9" }, "downloads": -1, "filename": "python_zenoss_client-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "155a7286d1941228f8449448582f7d69", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4357, "upload_time": "2018-11-01T06:31:23", "url": "https://files.pythonhosted.org/packages/57/78/1f814df955da10bd460d3ba45674c30f059eed557083d611a4ddfdd0ed8f/python_zenoss_client-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "812ddcdf5a5bc2f27b8a8d4b305165b3", "sha256": "29c68c8d801aa7fce8d481a45d175001cf7b890f43a977ed335a446f2c77b3fc" }, "downloads": -1, "filename": "python-zenoss-client-1.0.1.tar.gz", "has_sig": false, "md5_digest": "812ddcdf5a5bc2f27b8a8d4b305165b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4305, "upload_time": "2018-11-01T06:31:24", "url": "https://files.pythonhosted.org/packages/56/16/d2e89abb457bc908e8f2b60d612b510a81937b496b77c815a4a0c62f40d2/python-zenoss-client-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "155a7286d1941228f8449448582f7d69", "sha256": "d2242a83d5a586aa35aff5156ad12534644efd938b4e0d8de6a6a6ff2c26d6a9" }, "downloads": -1, "filename": "python_zenoss_client-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "155a7286d1941228f8449448582f7d69", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4357, "upload_time": "2018-11-01T06:31:23", "url": "https://files.pythonhosted.org/packages/57/78/1f814df955da10bd460d3ba45674c30f059eed557083d611a4ddfdd0ed8f/python_zenoss_client-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "812ddcdf5a5bc2f27b8a8d4b305165b3", "sha256": "29c68c8d801aa7fce8d481a45d175001cf7b890f43a977ed335a446f2c77b3fc" }, "downloads": -1, "filename": "python-zenoss-client-1.0.1.tar.gz", "has_sig": false, "md5_digest": "812ddcdf5a5bc2f27b8a8d4b305165b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4305, "upload_time": "2018-11-01T06:31:24", "url": "https://files.pythonhosted.org/packages/56/16/d2e89abb457bc908e8f2b60d612b510a81937b496b77c815a4a0c62f40d2/python-zenoss-client-1.0.1.tar.gz" } ] }