Comparison
basedpyright vs pyre-check vs pyrefly 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 performant type checker and security-focused static analyzer for Python
Actively maintained. Last release 4 months ago, commits in 25 of the last 26 weeks. A safe choice.
pip install pyre-checkA 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 pyreflyPython 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.
- basedpyright is the most used: 21M downloads a month, 1.8× more than pyrefly.
- Maintenance is comparable: pyrefly 89, basedpyright 88, pyre-check 74 on Pythie’s Index.
- basedpyright is growing fastest: downloads +30% over the last month.
- pyrefly is the newcomer: first released Feb 2025.
- Safe default for a new project: basedpyright.
Side by side
| Metric | basedpyright | pyre-check | pyrefly | pytype |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | 74 |