Release5 sources
Ty 1.0 checked FastAPI in 0.57s. mypy took 7.75s
The Brief · written from 5 sources
- Astral released ty 1.0, its Rust-based Python type checker and language server, on December 1, 2026.
- Astral now recommends ty "for production use, for all users".
- ty is the default type checker at OpenAI, which reports a 24x speedup in its migration to ty.
- A DEV Community benchmark on FastAPI (54 files, 23,803 lines) measured ty at 0.57s cold versus 7.75s for mypy and 10.68s for pyright.
Why it matters
ty is now a stable, production-recommended alternative to mypy and Pyright, and its speed can shorten type-checking time in CI and editors for Python projects.
Who’s affected
- Python teams using mypy or Pyright
- Python developers using type checking in CI or editors
What to do
- Try ty on your Python project to compare results and run time against your current type checker
- ty 1.0
- #python
- #type-checker
- #ty
- #astral
- #static-analysis
Ty 1.0 checked FastAPI in 0.57s. mypy took 7.75s Astral shipped ty 1.0 today, and the headline number is a 24x speedup at OpenAI. I ran it myself on FastAPI — 54 files, 23,803 lines — and got 0.57 seconds cold, against 7.75 for mypy and 10.68 for pyright. The speed is real. The…
Timeline
Full coverage · 5 sources
- 16h ago ↗
DEV Community: python
ty 1.0 Is Here: Switch Your Python Project to the Fastest Type Checker in 15 Minutes - 18h ago ↗
DEV Community: python
Does FastAPI's own code still pass the type checker it adopted? - 21h ago ↗
DEV Community: python
ty 1.0 Is Out: The Speed Charts Matter Less Than the Migration Story - 1d ago ↗
DEV Community: python
Ty 1.0 checked FastAPI in 0.57s. mypy took 7.75s
- 1d ago ↗
Simon Willison's Weblog
ty 1.0