types-click
Typing stubs for click
Decision gist · record as of 2026-08-14
No, unless you are stuck on click 7.x or earlier and need type checking support. For click 8.0 and later, uninstall this package—click now includes its own type annotations. The package has not been updated since 2021-11-23, and the description itself recommends uninstalling it if you use click 8.0+.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Only useful if you are using click version 7.x or earlier; click 8.0+ includes its own type annotations, making this package unnecessary.
- Low install friction with a single wheel dependency.
- The package is actively maintained via typeshed, though it has not received a release since 2021-11-23; note that click itself has included type annotations since version 8.0, making this package redundant for recent click versions.
License · maintenance · safety
Apache-2.0 license (permissive) — Licensed under Apache-2.0, a permissive open-source license with no significant restrictions on use or distribution.
last release 2021-11-23 (1725 days) · last repo commit 2026-08-14 · 5,108 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,239,041 downloads/mo, #3,194 on PyPI
Alternatives
Verify before relying
pip install types-click
# Then use with mypy or another type checker on code that imports click
import click- Whether this package is still maintained or if typeshed updates are still being applied to the click stubs.
- Compatibility with the latest versions of type checkers (mypy, PyCharm, pytype) that may have evolved since the last release.
What it is and what it does
types-click is a type stub package that bridges the gap between older versions of click and modern static type checkers. It provides type information for the click library, allowing tools like mypy, PyCharm, and pytype to understand and validate code that uses click's API. This is particularly useful for projects that rely on click for command-line interface development but need strict type checking.
The package is generated from typeshed, a centralized repository of type stubs maintained by the Python community. However, since click version 8.0 added native type annotations, this package is now primarily useful for legacy projects still using click 7.x or earlier. For modern click versions, the built-in type information makes types-click redundant.
Use it for
- Type-checking legacy click 7.x codebases with mypy or similar tools without upgrading click.
- Enabling IDE type hints and autocomplete in PyCharm for older click-based CLI projects.
- Validating click usage in projects that enforce strict type checking but cannot upgrade to click 8.0+.
- Supporting pytype or other type checkers that need explicit stubs for click 7.x compatibility.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are stuck on click 7.x or earlier and need type checking support.
For click 8.0 and later, uninstall this package—click now includes its own type annotations. The package has not been updated since 2021-11-23, and the description itself recommends uninstalling it if you use click 8.0+.
Install
types-click on PyPI
Before you install
Low install friction with a single wheel dependency. The package is actively maintained via typeshed, though it has not received a release since 2021-11-23; note that click itself has included type annotations since version 8.0, making this package redundant for recent click versions.
Only useful if you are using click version 7.x or earlier; click 8.0+ includes its own type annotations, making this package unnecessary.
License in practice
Licensed under Apache-2.0, a permissive open-source license with no significant restrictions on use or distribution.
Quickstart
pip install types-click
# Then use with mypy or another type checker on code that imports click
import click
Verify before relying
- Whether this package is still maintained or if typeshed updates are still being applied to the click stubs.
- Compatibility with the latest versions of type checkers (mypy, PyCharm, pytype) that may have evolved since the last release.
Package facts
| License | Apache-2.0 license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,725 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,239,041 / month, #3,194 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseTyping :: Typed |
Evidence: types_click-7.1.8-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “type stubs for click”
- types-clickProvides PEP 561 type stubs for the click package, enabling static…
- msgspec-clickGenerates Click command-line options automatically from msgspec type…
- click-datetimeAdds datetime type support to Click, allowing CLI developers to parse…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also pymupdf-stubs · types-Werkzeug · types-attrs · types-atomicwrites · types-futures · pybind11-stubgen · types-orjson · types-filelock · types-enum34 · types-backports