{ "info": { "author": "Denis Pompilio (jawa)", "author_email": "denis.pompilio@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: POSIX :: BSD", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3", "Topic :: System :: Monitoring", "Topic :: Utilities" ], "description": "|PythonPIP|_ |PythonSupport|_ |License|_ |RTFD|_\n\nkairosdb - Python library to interface the KairosDB REST API (kairosdb.github.io)\n=================================================================================\n\n* *Author:* Denis 'jawa' Pompilio \n* *Contact:* Denis 'jawa' Pompilio \n* *Sources:* https://github.com/outini/python-kairosdb/\n\nThis package provides a simple python library to interface the KairosDB REST API.\nPlease read also: https://kairosdb.github.io/docs/build/html/restapi/index.html.\n\nInstallation\n------------\n\n\nInstall python-kairosdb module from https://pypi.python.org::\n\n pip install python-kairosdb\n\nInstall python-kairosdb module from sources::\n\n python setup.py install\n\nDebian binary packages are also available. See the *packaging* directory for\nmore information.\n\nDocumentation\n-------------\n\nDocumentation is available online: http://python-kairosdb.readthedocs.io/en/latest/index.html\n\nExamples\n--------\n\n.. code:: python\n\n import kairosdb\n\n if __name__ == \"__main__\":\n KDB_CLIENT = kairosdb.client.KairosDBAPIClient(\n api_endpoint=\"https://kdb.domain.tld:4443/api/v1\")\n KDB_API = kairosdb.KairosDBAPI(KDB_CLIENT)\n\n print(KDB_API.version)\n print(KDB_API.health_status)\n print(KDB_API.health_check)\n print(KDB_API.metricnames)\n print(KDB_API.tagnames)\n\n print(KDB_API.query_metrics({\n \"metrics\": [{\n \"name\": \"my_metric\",\n \"group_by\": [{\"name\": \"tag\", \"tags\": ['host']}],\n \"aggregators\": [{\n \"name\": \"avg\",\n \"align_sampling\": True,\n \"sampling\": {\"value\": 30, \"unit\": \"seconds\"}\n }]\n }],\n \"cache_time\": 0,\n \"start_relative\": {\"value\": \"2\", \"unit\": \"hours\"}\n })\n\nLicense\n-------\n\nMIT LICENSE *(see LICENSE file)*\n\n.. |PythonPIP| image:: https://badge.fury.io/py/python-kairosdb.svg\n.. _PythonPIP: https://pypi.python.org/pypi/python-kairosdb/\n.. |PythonSupport| image:: https://img.shields.io/badge/python-3.4+-blue.svg\n.. _PythonSupport: https://github.com/outini/python-kairosdb/\n.. |License| image:: https://img.shields.io/badge/license-MIT-green.svg\n.. _License: https://github.com/outini/python-kairosdb/\n.. |Codacy| image:: https://api.codacy.com/project/badge/Grade/\n.. _Codacy: https://www.codacy.com/app/outini/python-kairosdb\n.. |Coverage| image:: https://api.codacy.com/project/badge/Coverage/\n.. _Coverage: https://www.codacy.com/app/outini/python-kairosdb\n.. |RTFD| image:: https://readthedocs.org/projects/python-kairosdb/badge/?version=latest\n.. _RTFD: http://python-kairosdb.readthedocs.io/en/latest/?badge=latest", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/outini/python-kairosdb", "keywords": "api,metrics,timeseries,python,kairosdb", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "python-kairosdb", "package_url": "https://pypi.org/project/python-kairosdb/", "platform": "UNIX", "project_url": "https://pypi.org/project/python-kairosdb/", "project_urls": { "Homepage": "https://github.com/outini/python-kairosdb" }, "release_url": "https://pypi.org/project/python-kairosdb/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "KairosDB REST API python client and interface", "version": "0.2.1" }, "last_serial": 3371343, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e974816ba3fcee57242c668b88eec6cf", "sha256": "aad4b2eb5102603217cbde2abe2969185b8a319aefbbd2217ef89475cb458fa6" }, "downloads": -1, "filename": "python-kairosdb-0.1.0.tar.gz", "has_sig": true, "md5_digest": "e974816ba3fcee57242c668b88eec6cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4943, "upload_time": "2017-11-24T13:40:34", "url": "https://files.pythonhosted.org/packages/50/72/7de289de5ee6651aa685ade2cc5e8ffcd99543034168d4abba5588d667f3/python-kairosdb-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "501c1c008e646dca41b9de33be670afd", "sha256": "c95a25434dc9a0ed1ea88e766e4f675bdad11df46963316168afc6659d2cf9a3" }, "downloads": -1, "filename": "python-kairosdb-0.2.0.tar.gz", "has_sig": true, "md5_digest": "501c1c008e646dca41b9de33be670afd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5594, "upload_time": "2017-11-27T17:03:05", "url": "https://files.pythonhosted.org/packages/ae/69/9a468c40fca132644149e6fba0f8a33ce0d9d0ec2054d46628be855cf1ba/python-kairosdb-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "8e10e525aba14ab32822344d8457785b", "sha256": "54733982d5b9f3d13ff4ba7fb6059fc665741c7ed534ebda2a9baa9f26245221" }, "downloads": -1, "filename": "python-kairosdb-0.2.1.tar.gz", "has_sig": true, "md5_digest": "8e10e525aba14ab32822344d8457785b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5604, "upload_time": "2017-11-28T15:15:14", "url": "https://files.pythonhosted.org/packages/9a/58/92843c1f2d2a7136acb2493d9ec0e5d56d1409ec8e1b678a6b1be299aa08/python-kairosdb-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8e10e525aba14ab32822344d8457785b", "sha256": "54733982d5b9f3d13ff4ba7fb6059fc665741c7ed534ebda2a9baa9f26245221" }, "downloads": -1, "filename": "python-kairosdb-0.2.1.tar.gz", "has_sig": true, "md5_digest": "8e10e525aba14ab32822344d8457785b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5604, "upload_time": "2017-11-28T15:15:14", "url": "https://files.pythonhosted.org/packages/9a/58/92843c1f2d2a7136acb2493d9ec0e5d56d1409ec8e1b678a6b1be299aa08/python-kairosdb-0.2.1.tar.gz" } ] }