skillfed

types-influxdb-client

Typing stubs for influxdb-client

types-influxdb-client v1.45.0.20241221 152.4K downloads/30d#10,904 on PyPI5,108
Permissive license Apache-2.0 Active released

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-client

uv

uv add types-influxdb-client

poetry

poetry add types-influxdb-client

Installing 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

License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Typing :: Stubs Only

Tags

type stubs influxdbinfluxdb type checkingpep 561 type stubsstatic type checking influxdbmypy influxdbinfluxdb typing
type-stubsinfluxdb

More Database packages