influxdb
InfluxDB client
Decision gist · record as of 2026-08-14
No, unless you are maintaining a legacy InfluxDB 1.x deployment with no upgrade path. The repository is archived, maintenance is abandoned, and the maintainers explicitly recommend newer client libraries for InfluxDB 2.x and 3.x. For new projects, use influxdb-client-python or the v3 client library instead. For existing 1.x systems, use this only if you cannot upgrade InfluxDB itself.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running InfluxDB 1.x instance accessible at the specified host and port; InfluxDB 2.x and 3.x are not compatible with this client.
- Low install friction with stable dependencies, but the repository is archived and maintenance is abandoned as of the fact sheet date.
- The library is explicitly superseded by influxdb-client-python for InfluxDB 2.x and the v3 client library for InfluxDB 3.0; no active security updates are expected.
License · maintenance · safety
MIT License (permissive) — MIT License (permissive) places no restrictions on use, modification, or distribution in commercial or private projects.
last release 2024-04-18 (848 days) · last repo commit 2024-10-29 · 1,693 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,281,327 downloads/mo, #2,343 on PyPI
Alternatives
Verify before relying
pip install influxdb
from influxdb import InfluxDBClient
client = InfluxDBClient('localhost', 8086, 'root', 'root', 'example')
client.write_points([{"measurement": "cpu_load", "fields": {"value": 0.64}}])
result = client.query('select value from cpu_load;')- Whether security patches will be backported if vulnerabilities are discovered in dependencies like requests or msgpack.
- Current compatibility with modern Python versions beyond those listed in classifiers (3.4–3.6).
- Whether the package maintainers will accept community contributions or if the repository remains read-only.
What it is and what it does
This is a Python client for InfluxDB 1.x, a distributed time-series database. It provides an HTTP-based interface to create databases, write data points with tags and fields, and execute queries. The library wraps requests to handle authentication, serialization (via msgpack), and timezone conversion (via pytz and python-dateutil).
The package is no longer actively maintained—the repository is archived and the maintainers have explicitly directed InfluxDB 2.x users to use influxdb-client-python and InfluxDB 3.0 users to use the v3 client library instead. It remains available for legacy InfluxDB 1.x deployments but should not be chosen for new projects unless you are locked into InfluxDB 1.x.
Use it for
- Querying and writing metrics to an existing InfluxDB 1.x instance in a legacy application.
- Ingesting time-series data (CPU load, memory usage, application metrics) into InfluxDB 1.x from Python.
- Building monitoring dashboards or reports that pull data from InfluxDB 1.x via Python scripts.
- Migrating data from InfluxDB 1.x to another system by reading points and transforming them.
- Running batch analytics on historical time-series data stored in InfluxDB 1.x.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining a legacy InfluxDB 1.x deployment with no upgrade path.
The repository is archived, maintenance is abandoned, and the maintainers explicitly recommend newer client libraries for InfluxDB 2.x and 3.x. For new projects, use influxdb-client-python or the v3 client library instead. For existing 1.x systems, use this only if you cannot upgrade InfluxDB itself.
Install
influxdb on PyPI
Before you install
Low install friction with stable dependencies, but the repository is archived and maintenance is abandoned as of the fact sheet date. The library is explicitly superseded by influxdb-client-python for InfluxDB 2.x and the v3 client library for InfluxDB 3.0; no active security updates are expected.
Requires a running InfluxDB 1.x instance accessible at the specified host and port; InfluxDB 2.x and 3.x are not compatible with this client.
License in practice
MIT License (permissive) places no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install influxdb
from influxdb import InfluxDBClient
client = InfluxDBClient('localhost', 8086, 'root', 'root', 'example')
client.write_points([{"measurement": "cpu_load", "fields": {"value": 0.64}}])
result = client.query('select value from cpu_load;')
Verify before relying
- Whether security patches will be backported if vulnerabilities are discovered in dependencies like requests or msgpack.
- Current compatibility with modern Python versions beyond those listed in classifiers (3.4–3.6).
- Whether the package maintainers will accept community contributions or if the repository remains read-only.
Package facts
| License | MIT License permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagespython-dateutilpytzrequestssixmsgpack |
| Maintenance | Abandoned 848 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 4,281,327 / month, #2,343 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules |
Evidence: influxdb-5.3.2-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “influxdb client python”
- influxdbClient library for writing to and querying InfluxDB 1.x time-series…
- influxdb-clientPython client library for querying and writing data to InfluxDB 2.x…
- influxdb3-pythonWrites and queries InfluxDB 3.0 using SQL or InfluxQL, with support…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also influxdb-client · influxdb3-python · apache-airflow-providers-influxdb · statshog · types-influxdb-client · line-protocol-parser · questdb · querysource · glances-api · statsd-python