Hacker ApprovedDepartments

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

  1. ty Python type checker

    74 recommend, 26 criticize, 74% approval

    Ranked 1 of 6 by recommenders

    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.

  2. mypy

    34 recommend, 14 criticize, 71% approval

    Ranked 2 of 6 by recommenders

    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.

  3. Pyrefly

    28 recommend, 8 criticize, 78% approval

    Ranked 4 of 6 by recommenders

    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.

Python type checkers ranked by the number of people who recommend them
Rank
1ty Python type checker742674%11—Approved
2mypy341471%10—Approved
3Pyright311666%11——
4Pyrefly28878%81 mo3 ownersApproved
5basedpyright9756%7——
6Zuban8373%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.