The best Python type checkers, according to hackers
6 Python type checkers were recommended on Hacker News between November 2025 and November 2026. We rank them by how many separate people recommend each one, and 3 earn the Hacker Approved badge.
Top picks
The three most recommended Python type checkers with the badge. Each figure is 5 people. RecommendsCriticizes One comment
Part of uv and ruff toolchain
Fast, free Python type checker from Astral with clear diagnostics that fits alongside uv and ruff. Critics say it's less accurate than rivals and lacks Django support.
Helps AI coding agents stay honest
Free Python type checker people run in strict mode to catch bugs and keep large or AI-written code honest; critics say it is slow and lenient by default.
Faster than other checkers
People recommend it for speed, low memory use and strict type checking. Main caveat: its editor extension can change config files without asking.
All 6 Python type checkers, ranked
Select a column heading to sort. Approval share is recommenders out of everyone who gave an opinion; the tick on each bar marks the 2 to 1 line the badge needs. Months counts the months, out of 13, in which someone recommended it.
| Rank | |||||||
|---|---|---|---|---|---|---|---|
| 1 | ty Python type checker | 74 | 26 | 74% | 11 | — | Approved |
| 2 | mypy | 34 | 14 | 71% | 10 | — | Approved |
| 3 | Pyright | 31 | 16 | 66% | 11 | — | — |
| 4 | Pyrefly | 28 | 8 | 78% | 8 | 1 mo3 owners | Approved |
| 5 | basedpyright | 9 | 7 | 56% | 7 | — | — |
| 6 | Zuban | 8 | 3 | 73% | 4 | — | — |
How we rank
Rank is the number of separate people who recommend a product in a Hacker News comment over the past year. Someone who praises the same Python type checker in five threads counts once.
The badge goes to Python type checkers that at least 10 people recommend, with recommenders outnumbering critics at least 2 to 1, recommended in at least 4 of the 13 months.
Rankings are never for sale. We may earn a commission when you buy through our links. It never changes the order.