Comparison
mypy vs pyrefly vs pyright vs zuban
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 fast type checker and language server for Python with powerful IDE features
Actively maintained. Last release 2 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install pyreflyCommand 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 pyrightZuban - The Zuban Language Server
Actively maintained. Last release 5 days ago, commits in 25 of the last 26 weeks. A safe choice.
pip install zubanIn short
- mypy is the most used: 207.1M downloads a month, 3.5× more than pyright.
- Maintenance is comparable: pyrefly 88, mypy 87, zuban 84, pyright 62 on Pythie’s Index.
- pyrefly is growing fastest: downloads +29% over the last month.
- pyrefly is the newcomer: first released Feb 2025.
- Safe default for a new project: mypy.