--- id: types-influxdb-client version: "1.45.0.20241221" license: Apache-2.0 license_treatment: permissive maintenance: active --- # types-influxdb-client — Typing stubs for influxdb-client License: permissive · Maintenance: active · Downloads: 152.4K/mo ## 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 above — 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 pip install types-influxdb-client uv add types-influxdb-client 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_current - Install friction: low - Maintenance: active - Downloads: 152.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags type stubs influxdb, influxdb type checking, pep 561 type stubs, static type checking influxdb, mypy influxdb, influxdb typing, type-stubs, influxdb [View on SkillFed](https://skillfed.io/packages/types-influxdb-client) · [View on PyPI](https://pypi.org/project/types-influxdb-client/)