influxdb3-python
Community Python client for InfluxDB 3.0
What it is and what it does
influxdb3-python is a Python client library for InfluxDB 3.0 that handles both writing time-series data and querying it using SQL or InfluxQL. It abstracts the Flight client protocol and provides a high-level API for common operations: you can write individual points, raw line protocol, entire DataFrames (pandas or polars), or bulk data from CSV/JSON/Parquet files. The library also includes a CLI tool for query workflows.
The package depends on pyarrow, reactivex, certifi, python_dateutil, and urllib3. It is actively maintained, supports modern Python versions (3.9–3.14), and carries no known vulnerabilities. Pandas is optional but recommended for advanced features like DataFrame conversion and file writing. Configuration can be driven by environment variables or constructor arguments, with sensible defaults for local development.
Use it for:
- Write sensor or application metrics to InfluxDB from Python applications in real time.
- Bulk-load historical time-series data from CSV or Parquet files into InfluxDB.
- Query InfluxDB using SQL or InfluxQL and convert results to pandas DataFrames for analysis.
- Build data pipelines that read from external sources and write to InfluxDB with batching and retry logic.
- Use the CLI tool to run ad-hoc queries against InfluxDB from shell scripts or automation workflows.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Writes and queries InfluxDB 3.0 using SQL or InfluxQL, with support for Point objects, line protocol, DataFrames, and file imports.
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is MIT-licensed. It is well-suited for any Python application that needs to write to or query InfluxDB 3.0. The main consideration is that pandas is optional; install it separately if you need DataFrame conversion or file import features.
Install
influxdb3-python on PyPI
pip
pip install influxdb3-pythonuv
uv add influxdb3-pythonpoetry
poetry add influxdb3-pythonInstalling influxdb3-python
Before you install
Low install friction with five runtime dependencies including pyarrow, reactivex, certifi, python_dateutil, and urllib3. Actively maintained with recent commits; last release 64 days ago. Supports Python 3.9 through 3.14.
License in practice
MIT-licensed under permissive terms, allowing commercial and private use with minimal restrictions.
Quickstart
pip install influxdb3-python
from influxdb_client_3 import InfluxDBClient3, Point
client = InfluxDBClient3(token="your-token", host="your-host", database="your-database")
point = Point("measurement").tag("location", "london").field("temperature", 42)
client.write(point)
Requires Python 3.9 or above; pandas is optional but needed for to_pandas() and write_file() methods.
Verify before relying
- Performance characteristics and throughput limits for write and query operations
- Exact behavior and error handling for partial writes with the V3 API endpoint
- Whether the CLI tool is production-ready or experimental
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — reactivex, certifi, python_dateutil, urllib3, pyarrow |
| Maintenance | actively maintained — 64 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,845,474/month — #2,481 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: influxdb3_python-0.20.0-py3-none-any.whl
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
influxdb-clientPython client library for querying and writing…
permissive · top 5,000 on PyPI
questdbA Python client library for QuestDB that sends…
permissive · top 15,000 on PyPI
line-protocol-parserParses InfluxDB line protocol strings into…
permissive · top 15,000 on PyPI
apache-airflow-providers-influxdbIntegrates InfluxDB time-series database with…
permissive · top 15,000 on PyPI
influxdbClient library for writing to and querying…
permissive · top 5,000 on PyPI
civisPython client library for programmatically…
permissive · top 15,000 on PyPI
types-influxdb-clientProvides type stubs for influxdb-client,…
permissive · top 15,000 on PyPI
statshogA Python client for sending metrics to StatsD…
permissive · top 5,000 on PyPI
PyAthenaPyAthena is a Python DB API 2.0 client for…
permissive · top 1,000 on PyPI
seeq-spySeeq-spy is a Python interface for interacting…
unclear · top 15,000 on PyPI