{"id":13473703,"url":"https://github.com/influxdata/influxdb-python","last_synced_at":"2025-12-17T01:03:08.382Z","repository":{"id":11645949,"uuid":"14151539","full_name":"influxdata/influxdb-python","owner":"influxdata","description":"Python client for InfluxDB","archived":true,"fork":false,"pushed_at":"2024-04-18T00:19:06.000Z","size":1275,"stargazers_count":1679,"open_issues_count":167,"forks_count":518,"subscribers_count":94,"default_branch":"master","last_synced_at":"2024-05-22T06:44:20.628Z","etag":null,"topics":["influxdata","influxdb","python","python3"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/influxdata.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-11-05T19:27:16.000Z","updated_at":"2024-06-18T11:01:59.487Z","dependencies_parsed_at":"2023-01-13T16:36:25.296Z","dependency_job_id":"b2879b6d-b90f-4414-9790-f27c5f216a7f","html_url":"https://github.com/influxdata/influxdb-python","commit_stats":{"total_commits":734,"total_committers":143,"mean_commits":"5.1328671328671325","dds":0.8024523160762943,"last_synced_commit":"37ff905fbefe33bc321e619ea970d015ccd8b434"},"previous_names":["influxdb/influxdb-python"],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Finfluxdb-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Finfluxdb-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Finfluxdb-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Finfluxdb-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/influxdata","download_url":"https://codeload.github.com/influxdata/influxdb-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234569746,"owners_count":18854133,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["influxdata","influxdb","python","python3"],"created_at":"2024-07-31T16:01:06.112Z","updated_at":"2025-09-28T23:30:24.600Z","avatar_url":"https://github.com/influxdata.png","language":"Python","funding_links":[],"categories":["Python","Client libraries","Database Clients"],"sub_categories":["Official"],"readme":"InfluxDB-Python\n===============\n\n.. image:: https://travis-ci.org/influxdata/influxdb-python.svg?branch=master\n    :target: https://travis-ci.org/influxdata/influxdb-python\n.. image:: https://readthedocs.org/projects/influxdb-python/badge/?version=latest\u0026style\n    :target: http://influxdb-python.readthedocs.org/\n    :alt: Documentation Status\n\n.. image:: https://img.shields.io/coveralls/influxdata/influxdb-python.svg\n  :target: https://coveralls.io/r/influxdata/influxdb-python\n  :alt: Coverage\n\n.. image:: https://img.shields.io/pypi/v/influxdb.svg\n   :target: https://pypi.python.org/pypi/influxdb\n   :alt: PyPI Status\n\n\n.. important::\n\n   **This project is no longer in development**\n   \n   This v1 client library is for interacting with `InfluxDB 1.x \u003chttps://docs.influxdata.com/influxdb/v1/\u003e`_ and 1.x-compatible endpoints in `InfluxDB 2.x \u003chttps://docs.influxdata.com/influxdb/v2/\u003e`_.\n   Use it to:\n   \n   - Write data in line protocol.\n   - Query data with `InfluxQL \u003chttps://docs.influxdata.com/influxdb/v1/query_language/\u003e`_.\n\n   If you use `InfluxDB 2.x (TSM storage engine) \u003chttps://docs.influxdata.com/influxdb/v2/\u003e`_ and `Flux \u003chttps://docs.influxdata.com/flux/v0/\u003e`_, see the `v2 client library \u003chttps://github.com/influxdata/influxdb-client-python\u003e`_.\n\n   If you use `InfluxDB 3.0 \u003chttps://www.influxdata.com/get-influxdb/\u003e`_, see the `v3 client library \u003chttps://github.com/influxdata/influxdb3-python\u003e`_.\n\n   For new projects, consider using InfluxDB 3.0 and v3 client libraries.\n\nDescription\n===========\n\nInfluxDB-python, the InfluxDB Python Client (1.x), is a client library for interacting with `InfluxDB 1.x \u003chttps://docs.influxdata.com/influxdb/v1/\u003e`_ instances.\n\n.. _readme-about:\n\n`InfluxDB`_ is the time series platform designed to handle high write and query loads.\n\n\n.. _installation:\n\n\nFor InfluxDB pre-v1.1.0 users\n-----------------------------\n\nThis module is tested with InfluxDB versions v1.2.4, v1.3.9, v1.4.3, v1.5.4, v1.6.4, and 1.7.4.\n\nUsers on InfluxDB v0.8.x may still use the legacy client by importing ``from influxdb.influxdb08 import InfluxDBClient``.\n\nFor InfluxDB v1.1+ users\n------------------------\n\nInstall, upgrade and uninstall influxdb-python with these commands::\n\n    $ pip install influxdb\n    $ pip install --upgrade influxdb\n    $ pip uninstall influxdb\n\nOn Debian/Ubuntu, you can install it with this command::\n\n    $ sudo apt-get install python-influxdb\n\nDependencies\n------------\n\nThe influxdb-python distribution is supported and tested on Python 2.7, 3.5, 3.6, 3.7, PyPy and PyPy3.\n\n**Note:** Python \u003c3.5 are currently untested. See ``.travis.yml``.\n\nMain dependency is:\n\n- Requests: HTTP library for human beings (http://docs.python-requests.org/)\n\n\nAdditional dependencies are:\n\n- pandas: for writing from and reading to DataFrames (http://pandas.pydata.org/)\n- Sphinx: Tool to create and manage the documentation (http://sphinx-doc.org/)\n- Nose: to auto-discover tests (http://nose.readthedocs.org/en/latest/)\n- Mock: to mock tests (https://pypi.python.org/pypi/mock)\n\n\nDocumentation\n-------------\n\nDocumentation is available at https://influxdb-python.readthedocs.io/en/latest/.\n\nYou will need Sphinx_ installed to generate the documentation.\n\nThe documentation can be generated by running::\n\n    $ tox -e docs\n\n\nGenerated documentation can be found in the *docs/build/html/* directory.\n\n\nExamples\n--------\n\nHere's a basic example (for more see the examples directory)::\n\n    $ python\n\n    \u003e\u003e\u003e from influxdb import InfluxDBClient\n\n    \u003e\u003e\u003e json_body = [\n        {\n            \"measurement\": \"cpu_load_short\",\n            \"tags\": {\n                \"host\": \"server01\",\n                \"region\": \"us-west\"\n            },\n            \"time\": \"2009-11-10T23:00:00Z\",\n            \"fields\": {\n                \"value\": 0.64\n            }\n        }\n    ]\n\n    \u003e\u003e\u003e client = InfluxDBClient('localhost', 8086, 'root', 'root', 'example')\n\n    \u003e\u003e\u003e client.create_database('example')\n\n    \u003e\u003e\u003e client.write_points(json_body)\n\n    \u003e\u003e\u003e result = client.query('select value from cpu_load_short;')\n\n    \u003e\u003e\u003e print(\"Result: {0}\".format(result))\n\n\nTesting\n-------\n\nMake sure you have tox by running the following::\n\n    $ pip install tox\n\nTo test influxdb-python with multiple version of Python, you can use Tox_::\n\n    $ tox\n\n\nSupport\n-------\n\nFor issues with, questions about, or feedback for InfluxDB_, please look into\nour community page: http://influxdb.com/community/.\n\nWe are also lurking on the following:\n\n- #influxdb on irc.freenode.net\n- #influxdb on gophers.slack.com\n\n\nDevelopment\n-----------\n\nThe v1 client libraries for InfluxDB 1.x were typically developed and maintained by InfluxDB community members. If you are an InfluxDB v1 user interested in maintaining this client library (at a minimum, keeping it updated with security patches) please contact the InfluxDB team at on the `Community Forums \u003chttps://community.influxdata.com/\u003e`_ or\n`InfluxData Slack \u003chttps://influxdata.com/slack\u003e`_.\n\nAll development is done on Github_. Use Issues_ to report\nproblems or submit contributions.\n\n.. _Github: https://github.com/influxdb/influxdb-python/\n.. _Issues: https://github.com/influxdb/influxdb-python/issues\n\nPlease note that we will answer you question as quickly as possible.\n\nMaintainers:\n\n+-----------+-------------------------------+\n| Github ID | URL                           |\n+===========+===============================+\n| @aviau    | (https://github.com/aviau)    |\n+-----------+-------------------------------+\n| @xginn8   | (https://github.com/xginn8)   |\n+-----------+-------------------------------+\n| @sebito91 | (https://github.com/sebito91) |\n+-----------+-------------------------------+\n\nSource code\n-----------\n\nThe source code for the InfluxDB Python Client (1.x) is currently available on Github: https://github.com/influxdata/influxdb-python\n\n\nTODO\n----\n\nThe TODO/Roadmap can be found in Github bug tracker: https://github.com/influxdata/influxdb-python/issues\n\n\n.. _InfluxDB: https://influxdata.com/\n.. _Sphinx: http://sphinx.pocoo.org/\n.. _Tox: https://tox.readthedocs.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfluxdata%2Finfluxdb-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfluxdata%2Finfluxdb-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfluxdata%2Finfluxdb-python/lists"}