Comparison
basedpyright vs mypy vs pyright
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 22 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 mypyCommand line wrapper for pyright
Maintained. Last release 3 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install pyrightIn short
- mypy is the most used: 203.9M downloads a month, 3.5× more than pyright.
- Maintenance is comparable: basedpyright 88, mypy 87, pyright 60 on Pythie’s Index.
- basedpyright is growing fastest: downloads +30% over the last month.
- Safe default for a new project: mypy.
Side by side
| Metric | basedpyright | mypy | pyright |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | 87 |