skillfed

types-mypy-extensions

Typing stubs for mypy-extensions

types-mypy-extensions v1.1.0.20260724 148.9K downloads/30d#11,015 on PyPI37
Permissive license Apache-2.0 Active released

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

uv

uv add types-mypy-extensions

poetry

poetry add types-mypy-extensions

Installing 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

Programming Language :: Python :: 3Typing :: Stubs Only

Tags

type stubs mypy-extensionsmypy-extensions typingtype checking mypy-extensionstypeshed stubsmypy type hintspyright type stubspython typing annotations
type-stubstype-checking

More Software Development packages