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, withoutactually 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
Information Last Updated
Oct 31, 2025 at 10:48
License
MIT
Total Downloads
9.8K
Platforms
GitHub Repository
https://github.com/python/mypyDocumentation
https://mypy.readthedocs.io