types-influxdb-client
Typing stubs for influxdb-client
What it is and what it does
This is a PEP 561 type stub package that provides type annotations for influxdb-client. It allows static type checkers—mypy, pyright, pytype, Pyre, and PyCharm—to understand and validate the types used in code that calls influxdb-client functions and classes. The stubs are generated from typeshed and kept synchronized with influxdb-client version 1.45.*.
The package is lightweight, with only urllib3 as a runtime dependency, and is actively maintained by the typeshed community. However, it is now superseded: influxdb-client has included native type annotations since version 1.46.0, so this stub package is no longer needed for newer client versions. If you are already using influxdb-client 1.46.0 or later, you should uninstall this package to avoid redundancy.
Use it for:
- Enable type checkers to catch type errors in code using influxdb-client 1.45.* before runtime.
- Provide IDE autocomplete and type hints for influxdb-client methods in PyCharm or other editors.
- Maintain strict type checking in a codebase that depends on an older influxdb-client version.
- Validate function signatures and return types when building applications that interact with InfluxDB.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type stubs for influxdb-client, enabling static type checkers like mypy, pyright, and pytype to validate code using the InfluxDB client library.
Yes, if you are using influxdb-client 1.45.* and want static type checking. No, if you are already on influxdb-client 1.46.0 or later—uninstall this package and rely on the client's native annotations instead. The install is low-friction and the package is actively maintained, but it is explicitly superseded by newer client versions.
Install
types-influxdb-client on PyPI
pip
pip install types-influxdb-clientuv
uv add types-influxdb-clientpoetry
poetry add types-influxdb-clientInstalling types-influxdb-client
Before you install
Low friction install with a single runtime dependency (urllib3). Actively maintained as part of typeshed; note that influxdb-client has included native type annotations since version 1.46.0, making this package redundant for newer client versions.
License in practice
Apache-2.0 is permissive; you can use this package freely in commercial and private projects without restriction.
Quickstart
pip install types-influxdb-client
# Type checkers will now understand types for influxdb-client code
# No explicit import needed; type checkers use stubs automatically
Requires Python >=3.8 and urllib3>=2 (since v1.37.0.1); if your environment needs urllib3<2, use types-influxdb-client<1.37.0.1.
Verify before relying
- Whether influxdb-client 1.46.0+ is already in use (would make this package unnecessary).
- Compatibility with type checker versions beyond the tested set (mypy 1.14.0, pyright 1.1.389, pytype 2024.10.11).
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — urllib3 |
| Maintenance | actively maintained — 601 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 152,376/month — #10,904 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_influxdb_client-1.45.0.20241221-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
types-urllib3Provides type stubs for urllib3 to enable…
permissive · top 1,000 on PyPI
types-botoProvides type stubs for the boto AWS SDK,…
permissive · top 15,000 on PyPI
types-Flask-SQLAlchemyProvides type stubs for Flask-SQLAlchemy to…
permissive · top 15,000 on PyPI
types-SQLAlchemyProvides PEP 561 type stubs for SQLAlchemy,…
permissive · top 15,000 on PyPI
influxdb-clientPython client library for querying and writing…
permissive · top 5,000 on PyPI
types-typed-astProvides type stubs for the typed-ast package,…
permissive · top 15,000 on PyPI
influxdbClient library for writing to and querying…
permissive · top 5,000 on PyPI
types-caldavProvides type stubs for caldav, enabling static…
permissive · top 15,000 on PyPI
types-DateTimeRangeProvides type stubs for the DateTimeRange…
permissive · top 15,000 on PyPI
line-protocol-parserParses InfluxDB line protocol strings into…
permissive · top 15,000 on PyPI