Comparison
mypy vs pytype vs ty
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Optional static typing for Python
Actively maintained. Last release 5 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install mypyPython type inferencer
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install pytypeAn extremely fast Python type checker, written in Rust.
Actively maintained. Last release 4 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install tyIn short
- pytype is archived: avoid it for new projects.
- mypy is the most used: 208M downloads a month, 3.9× more than ty.
- Maintenance is comparable: ty 89, mypy 88 on Pythie’s Index.
- ty is growing fastest: downloads +11% over the last month.
- ty is the newcomer: first released Apr 2025.
- Safe default for a new project: mypy.