Ty 1.0: Fast Python type checker and language server
burntsushi
527 points
124 comments
December 01, 2026
Related Discussions
Found 5 related stories in 58.1ms across 4,908 title embeddings via pgvector HNSW
- Ghostty 1.4 deaux · 892 pts · October 27, 2026 · 52% similar
- Type Server Protocol adamnemecek · 221 pts · October 26, 2026 · 50% similar
- Libghostty 1.0 mfiguiere · 441 pts · November 06, 2026 · 49% similar
- Ghostty 1.4 paaloeye · 16 pts · October 27, 2026 · 46% similar
- Show HN: ArkType 3.0 – Set-theoretic precompiled TS validator ssalbdivad · 38 pts · December 03, 2026 · 46% similar
Discussion Highlights (20 comments)
ethnrob
So if OpenAI owns Astral, and Microsoft has Pyright, don't two companies effectively dominate both Python and TypeScript ecosystems? I have nothing against Ty, it is quite powerful, and released under MIT. This blog post also tells us that Ty is used extensively at OpenAI, like we're meant to be impressed.
chrikrah
Tried it on a 10k loc project which never had a type checker: 0.5s, 450 results. More than 400 of them are one pattern, a dict of kwargs splatted into a call (`*kw`). ty infers the dict as `dict[str, str | int]` and flags every parameter against that. Is there any way to type the dict once, or is a TypedDict the way to go?
wilkystyle
Congrats to the Astral team! I've been using ty since the alpha days. Was so excited to replace pylsp with it, and it's been a mainstay in my arsenal ever since. It's gotten so reliable over the past year or so that I forgot it was pre-1.0 software.
fishgoesblub
Curious to see how Ty now compares to Pyrefly in practice. Had to switch from Ty because it was rather poor compared to Pyrefly at the time. A bit spoiled for choice in regards to Python type checkers now.
BewareTheYiga
Congrats! This is a huge milestone. Out of curiosity, what will it take to get Ruff and UV to 1.0.0?
122339817
I thought everything can be vibe coded in Rust. Turns out OpenAI are Luddites and use Python. Remember when Astral told us in 2024 they would not sell out?
ocamoss
congrats to the team!
natsu529
Congrats on 1.0, this looks really interesting and I'd like to try it. Does ty have any story for Django / DRF yet? I rely on django-stubs and its mypy plugin for models and querysets, so I'm curious how ty handles that kind of dynamic behavior.
WD-42
Congrats to the Ty team. Been using it for a while now. Funnily though I’ve started to care less about typing in Python. Since Rust got good most projects where I’d want strong types I’m not using Python anymore. Python is still great for glue code, as it was intended. Typing helps there if libraries have good support but I find myself writing Python type annotations less now. It’s always been a bit awkward and ugly in Python anyway.
BoumTAC
Too bad it doesn't support Django 6. The real issue is that ty's Django support is still early: reverse relations and django-stubs aren't supported yet, and django-types is already lagging behind Django 6.
globular-toast
I got excited when ty came out because the LSP experience was so much better than I had before with pylsp-mypy. But then I lost interest in programming due to AI. I've been watching the releases and it's pretty obvious there's a lot of "AI assisted" development going on. Kinda funny that they're using AI to make a tool which is pointless because of AI.
lemontheme
Last time I evaluated ty and pyrefly, I ended up sticking with basedpyright. Its type inference felt the most complete. Curious to see if things have changed.
seanw444
Been using Ty for nearly a year or so now on my Django backend. Been very impressed as I've seen the versions tick up and up. Thanks for this.
ordesign
running ruff + mypy + pytest after every change, ruff is basically instant while mypy is always the slow part of the loop.
dang
Past related threads. Others? Ty – A fast Python type checker, written in Rust - https://news.ycombinator.com/item?id=46100637 - Nov 2025 (15 comments) Pyrefly vs. Ty: Comparing Python's two new Rust-based type checkers - https://news.ycombinator.com/item?id=44107655 - May 2025 (160 comments) Ty: A fast Python type checker and language server - https://news.ycombinator.com/item?id=43918484 - May 2025 (287 comments)
memco
I'm excited for this as I think Ty is quite nice to use, but this announcement was hard to appreciate because it feels poorly written. They have benchmark graphs which aren't properly labeled; the links (when they exist below) do not give a more full picture (you just have to jump back and forth and try to map the table to the graphs somehow?); and the year-over-year growth chart feels weird. The YoY chart makes me want to know more about why mypy grew 4x from 2025 to 2026 than it makes me feel like Ty has healthy growth. It also is concerning why they chose to emphasize growth of the user base over the actual type checking advantages that Ty gives: especially the advancements 1.0 gives. It's a mishmash of information and feels lacking.
kccqzy
I’ve given up on typing in Python in the work codebase. My colleagues don’t care about types, use meta programming too much (too many type-changing decorators and meta classes, etc), and I’ve seen as much as 2000 false positives per 10k loc. But even then, when I switched from pyright to ty, I was really amazed at how fast operations like go-to-definition can be. With pyright, the language-server-based go-to-definition is often slower than ripgrep search.
chaz6
Something to note: Ty does not search for modules in the same places that CPython does by default. It will not find modules installed at ~/.local/lib/python{version}/site-packages/. They insist that you use a venv.
barelysapient
What's the thinking on the future of Python outside of AI specific tasks? In a post-AI world I imagine most projects will reach for a sensible static code alternative.
alessiorossi
Fast type checking is very welcome here