Comparison
basedpyright vs pyrefly vs pyright vs pytype
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 basedpyrightA 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 pyreflyCommand 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 pyrightPython type inferencer
Archived. The repository is read-only: no more fixes or releases will come.
pip install pytypeIn short
- pytype is archived: avoid it for new projects.
- pyright is the most used: 58.1M downloads a month, 2.8× more than basedpyright.
- pyrefly is better maintained: Pythie’s Index 89 against 60.
- basedpyright is growing fastest: downloads +30% over the last month.
- pyrefly is the newcomer: first released Feb 2025.
- Safe default for a new project: pyright, or pyrefly if active maintenance matters most.
Side by side
| Metric | basedpyright | pyrefly | pyright | pytype |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | 89 |