types-certifi
Typing stubs for certifi
Decision gist · record as of 2026-08-14
No, unless you are locked into certifi versions older than 2022.5.18.1. For any modern certifi installation, the package is redundant—certifi now includes its own type annotations. The package itself is outdated (last release 2022-06-09) and the description explicitly recommends uninstalling it if you use a newer certifi version.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Only useful if you are using certifi versions older than 2022.5.18.1; newer versions of certifi include their own type stubs, making this package unnecessary.
- Low install friction with no runtime dependencies.
- However, the package is outdated: certifi has included native type annotations since version 2022.5.18.1, making types-certifi redundant for modern certifi installations.
License · maintenance · safety
Apache-2.0 license (permissive) — Licensed under Apache-2.0 (permissive), which allows free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2022-06-09 (1527 days) · last repo commit 2026-08-14 · 5,108 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 60,494,246 downloads/mo, #503 on PyPI
Alternatives
Verify before relying
pip install types-certifi
# Then use certifi with type checking:
import certifi
path: str = certifi.where()- Whether the package is actively maintained or if typeshed stubs for certifi are still being updated given certifi's native type support since 2022.5.18.1.
What it is and what it does
types-certifi is a PEP 561 type stub package that provides type information for the certifi library, allowing static type checkers like mypy, PyCharm, and pytype to understand and validate code that uses certifi. It bridges the gap between certifi and type-checking tools by supplying type hints for certifi's public API.
However, this package is now largely obsolete. The certifi package itself has included native type annotations since version 2022.5.18.1, eliminating the need for a separate stub package. If you are using a modern version of certifi, you should uninstall types-certifi to avoid redundancy and potential conflicts.
Use it for
- Type-checking legacy projects that depend on older certifi versions (pre-2022.5.18.1) without native type support.
- Enabling mypy or similar type checkers to validate certifi usage in codebases that require strict type safety.
- Development environments where type stubs are needed for IDE autocompletion and type hints in older certifi integrations.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are locked into certifi versions older than 2022.5.18.1.
For any modern certifi installation, the package is redundant—certifi now includes its own type annotations. The package itself is outdated (last release 2022-06-09) and the description explicitly recommends uninstalling it if you use a newer certifi version.
Install
types-certifi on PyPI
Before you install
Low install friction with no runtime dependencies. However, the package is outdated: certifi has included native type annotations since version 2022.5.18.1, making types-certifi redundant for modern certifi installations.
Only useful if you are using certifi versions older than 2022.5.18.1; newer versions of certifi include their own type stubs, making this package unnecessary.
License in practice
Licensed under Apache-2.0 (permissive), which allows free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install types-certifi
# Then use certifi with type checking:
import certifi
path: str = certifi.where()
Verify before relying
- Whether the package is actively maintained or if typeshed stubs for certifi are still being updated given certifi's native type support since 2022.5.18.1.
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,527 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 60,494,246 / month, #503 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 LicenseProgramming Language :: Python :: 3Typing :: Stubs Only |
Evidence: types_certifi-2021.10.8.3-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 certifi”
- types-certifiProvides type stubs for the certifi package to enable static type…
- python-certifi-win32Patches certifi at runtime to include certificates from the Windows…
- certifi-linuxRedirects certifi's certificate lookup to use the Linux system trust…
Give your agent the search over MCP, or paste the wish link into any chat.
Similar packages
Provides PEP 561 type stubs for Flask to enable static type checking with mypy, PyCharm, pytype, and similar tools.
Provides PEP 561 type stubs for the cryptography package, enabling static type checkers to validate code using cryptography.
Provides PEP 561 type stubs for the attrs package, enabling type checkers like mypy and PyCharm to validate code using attrs.
Provides PEP 561 type stubs for the click package, enabling static type checkers like mypy and PyCharm to understand click code.
Provides type stubs for the filelock package to enable static type checking with mypy, PyCharm, pytype, and similar tools.
Install only if you have a specific constraint on an older filelock version.
Provides type stubs for the jwt package, enabling static type checkers like mypy and PyCharm to validate code that uses JWT authentication.
See also types-Werkzeug · types-backports · types-MarkupSafe · typeshed-client