Comparison
basedpyright vs mypy vs pyre-check vs zuban
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
static type checking for Python (but based)
Actively maintained. Last release 8 weeks ago, commits in 21 of the last 26 weeks. A safe choice.
pip install basedpyrightOptional 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-checkZuban - 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, 9.4× more than basedpyright.
- Maintenance is comparable: basedpyright 88, mypy 87, zuban 84, pyre-check 74 on Pythie’s Index.
- basedpyright is growing fastest: downloads +38% over the last month.
- Safe default for a new project: mypy.
Side by side
| Metric | basedpyright | mypy | pyre-check | zuban |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | 87 |