types-mypy-extensions
Typing stubs for mypy-extensions
What it is and what it does
This package is a type stub distribution for mypy-extensions, part of the typeshed project. Type stubs are files that describe the types and signatures of a library's public interface without containing implementation code. When you install this package alongside mypy-extensions, type checkers like mypy and pyright can understand and validate code that uses mypy-extensions, catching type errors at development time rather than runtime.
The stubs are maintained centrally in typeshed and generated from that repository. They target mypy-extensions version 1.1.x and have been tested with mypy 2.3.0 and pyright 1.1.411. Since this is a stub-only package with no runtime dependencies, it adds no overhead to your application—it exists purely to improve type-checking quality during development.
Use it for:
- Enable mypy or pyright to type-check code that uses mypy-extensions without false positives or missing type information.
- Develop type-safe applications that depend on mypy-extensions while catching type errors before runtime.
- Contribute to or maintain projects that use mypy-extensions and want full IDE and linter support.
- Ensure compatibility between your codebase and mypy-extensions' public API through static type analysis.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type stubs for mypy-extensions, enabling type checkers like mypy and pyright to understand code using the mypy-extensions library.
Yes, if you use mypy-extensions and want type checking. Install it as a development dependency alongside mypy or pyright. It has no runtime cost, is actively maintained, and requires only Python 3.10+. No security concerns and permissive licensing. Skip it only if you don't use mypy-extensions or don't use a type checker.
Install
types-mypy-extensions on PyPI
pip
pip install types-mypy-extensionsuv
uv add types-mypy-extensionspoetry
poetry add types-mypy-extensionsInstalling types-mypy-extensions
Before you install
Low install friction with no runtime dependencies. Actively maintained as part of the typeshed project, with a recent release (21 days old) and ongoing repository activity.
License in practice
Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.
Quickstart
pip install types-mypy-extensions
# Then use mypy or pyright to type-check code that imports mypy-extensions
# mypy will automatically discover and use these stubs
Requires Python 3.10 or later.
Verify before relying
- Whether these stubs cover all public APIs of mypy-extensions 1.1.x or only a subset.
- How frequently stubs are updated when mypy-extensions itself receives updates.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 21 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 148,873/month — #11,015 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_mypy_extensions-1.1.0.20260724-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
mypy-extensionsProvides type system extensions for Python…
unclear · top 1,000 on PyPI
types-boltonsProvides type stubs for the boltons library,…
permissive · top 15,000 on PyPI
types-docutilsProvides type hints for the docutils library,…
permissive · top 5,000 on PyPI
types-netaddrProvides type stubs for the netaddr package,…
permissive · top 15,000 on PyPI
types-oauthlibProvides type stubs for the oauthlib package,…
permissive · top 5,000 on PyPI
types-paramikoProvides type hints for paramiko, enabling…
permissive · top 1,000 on PyPI
types-pyflakesProvides type stubs for the pyflakes static…
permissive · top 15,000 on PyPI
types-sixProvides type hints for the six Python 2/3…
permissive · top 5,000 on PyPI
types-zstdProvides type hints for the zstd compression…
permissive · top 15,000 on PyPI
types-waitressProvides type stubs for the waitress WSGI…
permissive · top 15,000 on PyPI