| Ty 1.0: Fast Python type checker and language server(astral.sh) | |
| 709 points by burntsushi 4 days ago | 159 comments | |
tl;dr: Astral has released ty 1.0, a Rust-based Python type checker and language server positioned as an alternative to mypy, Pyright, and Pyrefly. In benchmarks, it outperforms other Rust-based checkers (1.46x faster than Pyrefly, 3.56x faster than Zuban) and is already the default at OpenAI, where it delivered a 24x median speedup and 73% memory reduction. The release adds bidirectional type inference, built-in support for Pydantic/Django/pytest, auto-fixes, migration tooling with diagnostic baselines, and PEP 723 script support via uv integration. | |
HN Discussion:
| |