Comparison
basedpyright vs mypy vs pyrefly vs ty
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 mypyA fast type checker and language server for Python with powerful IDE features
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
pip install pyreflyAn 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: 203.9M downloads a month, 3.8× more than ty.
- Maintenance is comparable: ty 89, pyrefly 89, basedpyright 88, mypy 87 on Pythie’s Index.
- basedpyright is growing fastest: downloads +30% over the last month.
- ty is the newcomer: first released Apr 2025.
- Safe default for a new project: mypy.
Side by side
| Metric | basedpyright | mypy | pyrefly | ty |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | Pythie’s Index: 87 | Pythie’s Index: 89 | Pythie’s Index: 89 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 21M | 203.9M | 11.9M | 53M |
| Downloads, month over month | +30% | +6% | +22% | +11% |
| GitHub stars | 3.7K | 20.7K | 7.3K | 20.2K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 33 | 834 | 23 | 0 |
| Last release | Oct 4, 2026 | Oct 28, 2026 | Nov 30, 2026 | Nov 30, 2026 |
| Releases, 12 months | 28 | 11 | 67 | 120 |
| Weeks with commits | 22 / 26 | 26 / 26 | 26 / 26 | 26 / 26 |
| Recent contributors | 15 | 10 | 15 | 12 |
| First release | Jan 2024 | Sep 2009 | Feb 2025 | Apr 2025 |
| Python versions | 3.10 – 3.15 | 3.10 – 3.15 | – | 3.8 – 3.15 |
| License | MIT | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.