ty1.0.0

An extremely fast Python type checker and language server, written in Rust.

WindowsSystem ToolsOpen source

Verify your download

Select the file you downloaded to check it against the hash we published — the check runs in your browser, nothing is uploaded.

About

ty checks Python code as you edit it, reporting type errors and providing language-server features through an integrated editor connection. Written in Rust, it uses fine-grained incremental analysis to update results quickly, with code navigation, completions, code actions, auto-imports, inlay hints, and hover help. Its diagnostics include contextual information, while configurable rule levels, per-file overrides, suppression comments, and project support let teams tailor checking to their codebase.

ty accommodates redeclarations and partially typed code, making it practical for projects that are not uniformly annotated. Its type system includes first-class intersection types, advanced narrowing, and reachability analysis, with integrations for VS Code, PyCharm, Neovim, and other editors. Users can invoke it through uvx for a quick start, and it can analyze a project without cached results, including the Home Assistant project.

For Windows users, ty 0.0.107 runs on x64 systems and is published as open-source software by Astral Software Inc.; the project is currently in beta. Official type-checking support covers Python 3.10 and later, while Python 3.7 through 3.9 targets can be selected but may cause false positives or negatives because standard-library stubs for those versions are not bundled. The 0.0.x series does not have a stable API, so breaking changes, including diagnostic changes, may occur between releases.

The current version adds preview features, progress reporting during initial file indexing, and Ctrl-C handling for that process. It fixes a hang when specializing generic constructors and isolates uv-managed scripts from their project environment.

Architecture: x64

What's new in v1.0.0

This is the first stable release of ty, our Python type checker and language server. We're now ready to recommend ty for production use to all users. See our announcement for benchmarks, examples, and an overview of the improvements since our beta-release announcement.

Highlights - ty is the fastest type checker on 16 of 18 CLI benchmark projects: 1.46× faster than Pyrefly and 3.56× faster than Zuban. - ty now passes 95% of test files in Python's typing conformance suite, up from 29% at Beta, compared with 57% for mypy. - Improved type inference with a new generics solver, better bidirectional inference, and more precise inference for unannotated code. - Added built-in support for Pydantic, Django, attrs, and pytest. - Introduced return type inference for unannotated functions. - Simplified adoption with automatic fixes (--fix), suppression generation (--add-ignore), and diagnostic baselines (preview). - Added preview support for PEP 723 scripts, using uv to automatically install each script's dependencies in a separate environment. - New options for stricter type checking, including strict generic narrowing and strict equality semantics. - New rules for stricter type checking, including checks for unsound returns, missing generic type arguments, disjoint casts and redundant conditions. - Some of ty’s advanced typing features like intersection types can now be used in type annotations through ty-extensions. - Added editor features including Go to Implementation, call and type hierarchies, and support for renaming files and packages. Thank you to everyone who contributed! Core team: @AlexWaygood, @BurntSushi, @carljm, @dcreager, @dhruvmanila, @Gankra, @ibraheemdev, @lerebear, @MichaReiser, @mtshiba, @oconnor663, @sharkdp.

Versioning policy As part of our commitment to stability, we're introducing a versioning policy. Patch releases will be limited to bug fixes. Minor releases may include changes to type-checking behavior that introduce new type errors.

Changes since 0.0.115 The highlights above span several beta releases. The following changes are new in 1.0.0 compared to 0.0.115.

Bug fixes - Fix a crash in ty check --fix when a diagnostic in an unchanged file points into an edited file. Both --fix and --add-ignore now recheck the project after edits so the remaining diagnostics point to the right locations. (#31145) - Avoid treating assignments to global or nonlocal variables inside nested functions as class attributes. This fixes incorrect attribute types when a class inherits an attribute with the same name. (#31143) - Preserve string and bytes literals that are not covered by a sequence type when simplifying a union. This fixes incorrect errors that depended on the order of the union members. (#30996)

LSP server - Avoid unnecessary type inference when finding references, renaming symbols, or highlighting references by skipping strings that cannot contain the requested name. (#30681)

Performance improvements - Prepare edits for ty check --fix and ty check --add-ignore in parallel when multiple files need changes. (#31146)

Memory usage improvements - Reduce allocations when parsing quoted annotations and other standalone expressions. (#31159) - Reduce allocations when inferring arguments for calls to overloaded functions. (#31164)

Details

PlatformWindows
CategorySystem Tools
LicenseOpen source
PricingFree
Package IDastral-sh.ty
Latest versionv1.0.0
File typeZIP
Architecturex64
File size14.6 MB
Published12/2/2026

SHA-256

Version history

VersionSizePublishedScan
v0.0.115
SHA-256
14.6 MB12/1/2026CleanDownload
v0.0.114
SHA-256
14.6 MB11/30/2026CleanDownload
v0.0.112
SHA-256
14.5 MB11/26/2026CleanDownload
v0.0.111
SHA-256
14.5 MB11/26/2026CleanDownload
v0.0.107
SHA-256
14.2 MB11/23/2026CleanDownload

Does this still work for you?

Works (0)Doesn't work (0)Sign in to vote

Badge for your website

Developers can show that ty is available on MirrorNest. Copy the code below: the badge links to this page and updates itself.

ty on MirrorNest
HTML
<a href="https://mirrornest.com/software/ty-898c4fdc"><img src="https://mirrornest.com/badge/ty-898c4fdc.svg" alt="ty on MirrorNest" height="20"></a>
Markdown
[![ty on MirrorNest](https://mirrornest.com/badge/ty-898c4fdc.svg)](https://mirrornest.com/software/ty-898c4fdc)

Reviews

No reviews yet — be the first.

Leave a review

Sign in to post as a verified member instead of anonymously.

ty alternatives