Comparison
mypy vs pyre-check vs pyright 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 mypyA performant type checker and security-focused static analyzer for Python
Actively maintained. Last release 4 months ago, commits in 26 of the last 26 weeks. A safe choice.
pip install pyre-checkCommand line wrapper for pyright
Maintained. Last release 3 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install pyrightAn extremely fast Python type checker, written in Rust.
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
pip install tyIn short
- mypy is the most used: 207.1M downloads a month, 3.5× more than pyright.
- Maintenance is comparable: ty 89, mypy 87, pyre-check 74, pyright 62 on Pythie’s Index.
- pyright is growing fastest: downloads +24% over the last month.
- ty is the newcomer: first released Apr 2025.
- Safe default for a new project: mypy.
Side by side
| Metric | mypy | pyre-check | pyright | ty |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 87 | 74 |