skillfed

influxdb

InfluxDB client

influxdb v5.3.2 4.3M downloads/30d#2,343 on PyPI1,693
Permissive license MIT License Abandoned released

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

Client library for writing to and querying InfluxDB 1.x time-series databases over HTTP.

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

pip

pip install influxdb

uv

uv add influxdb

poetry

poetry add influxdb

Installing influxdb

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.

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;')

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.

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 — python-dateutil, pytz, requests, six, msgpack
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)

Evidence: influxdb-5.3.2-py2.py3-none-any.whl

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

Tags

influxdb client pythontime series database clientinfluxdb 1.x connectorwrite query influxdbinfluxdb http apitime series data pythoninfluxdb metrics client
legacytime-series-dbarchived

More Libraries packages