mypy
Optional static typing for Python
Optional static typing for Python
To install this package, run one of the following:
Add type annotations to your Python programs, and use mypy to type check them. Mypy is essentially a Python linter on steroids, and it can catch many programming errors by analyzing your program, without actually having to run it. Mypy has a powerful type system with features such as type inference, gradual typing, generics and union types.
Summary
Optional static typing for Python
Last Updated
Dec 15, 2025 at 10:47
License
MIT
Total Downloads
6.4M
Supported Platforms
Unsupported Platforms
Home
http://mypy-lang.orgGitHub Repository
https://github.com/python/mypyDocumentation
http://mypy.readthedocs.io