# influxdata/influxdb-python

Python client for InfluxDB

Repository: https://github.com/influxdata/influxdb-python
Canonical: https://ross.abutalabs.com/products/influxdb-python
Language: Python
License: MIT
License Family: permissive
Topics: influxdata, influxdb, python, python3
Archived: true
Last push: 2024-10-29T15:54:14+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4684, "days_push": 673, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1692, forks 511 (observed 2026-08-28T04:05:22.728910+00:00)

## What it is
The official Python client library for InfluxDB 1.x, supporting writes in line protocol and queries via InfluxQL, including 1.x-compatible endpoints in InfluxDB 2.x. The project is no longer in development; users of InfluxDB 2.x Flux or 3.0 should use the newer v2 or v3 client libraries.

## Use cases
- write time series data to influxdb from python
- query influxdb with influxql in python
- store sensor metrics in influxdb
- read influxdb data into pandas dataframes
- connect python app to influxdb 1.x

## When to choose
- you are using InfluxDB 1.x or 1.x-compatible endpoints
- you need InfluxQL queries or line protocol writes from Python
- you are maintaining a legacy codebase already using this client

## When to avoid
- you use InfluxDB 2.x with Flux (use influxdb-client-python)
- you use InfluxDB 3.0 (use influxdb3-python)
- you are starting a new project

## Facets
- artifact type: library
- maturity: abandoned
- function: database-driver, http-client
- domain: databases, developer-tools
- platform: python
- tags: influxdb, time-series, client-library, deprecated, data-engineering

## Member repositories
- influxdata/influxdb-python (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:22.728910+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:38:13.946731+00:00, confidence not recorded.
  - readme: https://github.com/influxdata/influxdb-python (fetched 2026-08-28T04:05:22.728910+00:00, sha ac6a58964f19)
- Data as of 2026-08-30T08:39:29.467469+00:00.
