Overview of InfluxDB 2.0 client features
masterThe influxdb-client-python provides comprehensive support for InfluxDB 2.x and Flux.
Core Capabilities:
Querying
Data can be queried using the Flux language and returned in several formats:
- CSV (via
query_csv) - Raw data
- Table structure (via
flux_table) - Pandas DataFrame
Writing
Data can be written using multiple methods:
- Line Protocol
- Data Point objects
- RxPY Observables
- Pandas DataFrames
Management
The client includes a management API (generated from InfluxDB's Swagger/OpenAPI spec) for:
- Organizations and Users management
- Buckets management
- Tasks management
- Authorizations
- Health checks
Compatibility Note:
- For InfluxDB 3.x, use the v3 client library.
- For InfluxDB 1.x, use the v1 client library.
- This client is not backwards-compatible with the old
influxdb-pythonlibrary.