ty
by
astral-sh

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

View on GitHub ↗

Summary Information

Updated 41 minutes ago
Added to GitGenius on December 26th, 2025
Created on May 2nd, 2025
Open Issues & Pull Requests: 810 (+5)
Number of forks: 310
Total Stargazers: 19,154 (+1)
Total Subscribers: 51 (+0)

Issue Activity (beta)

Open issues: 808
New in 7 days: 11
Closed in 7 days: 16
Avg open age: 135 days
Stale 30+ days: 683
Stale 90+ days: 299

Recent activity

Opened in 7 days: 10
Closed in 7 days: 15
Comments in 7 days: 31
Events in 7 days: 96

Top labels

  • bug (607)
  • server (532)
  • generics (281)
  • question (234)
  • fatal (184)
  • diagnostics (149)
  • imports (137)
  • typing semantics (127)

Repository Insights (GitGenius)

Median issue/PR response: 0.1 hours
Mean response time: 10.5 hours
90th percentile: 7.1 hours
Tracked items: 3,284

Most active contributors

Detailed Description

ty is an extremely fast Python type checker and language server implemented in Rust and developed by Astral, the team behind the uv package manager and Ruff linter. The project aims to provide type checking capabilities that are 10 to 100 times faster than existing tools like mypy and Pyright, as demonstrated by benchmarks showing performance on large projects like home-assistant without caching.

The type checker offers comprehensive diagnostics with rich contextual information and provides extensive configuration options including configurable rule levels, per-file overrides, suppression comments, and first-class project support. It is designed with adoption in mind, supporting features like type redeclarations and partially typed code to enable gradual migration of existing codebases. The language server component includes code navigation, completions, code actions, auto-import functionality, inlay hints, and on-hover help. A key technical feature is fine-grained incremental analysis designed specifically for fast updates when editing files in an IDE, making it practical for real-time development workflows.

The tool supports advanced typing features including first-class intersection types, sophisticated type narrowing, and reachability analysis based on type information. Editor integrations are available for VS Code, PyCharm, Neovim, and other editors. The project officially supports type checking code targeting Python 3.10 and later, though earlier versions from 3.7 through 3.9 can be selected with potential limitations. Notably, the Python version used to install ty is independent of the target version being checked, and a standalone installer is available that does not require Python at all.

According to GitGenius activity tracking, the repository has grown from 19090 to 19091 stargazers since July 4, 2026. The project maintains a median issue and pull request response latency of 0.1 hours with a mean of 10.5 hours across 3274 tracked items, indicating active maintenance. The most frequently addressed issue categories are bugs with 606 items, server-related issues with 531 items, and generics with 280 items. The most active contributors tracked by GitGenius are AlexWaygood with 3787 events, carljm with 3476 events, and MicReiser with 2667 events.

Development of ty currently takes place within the Ruff repository, with pull requests for changes to the Rust source code submitted there rather than directly to the ty repository. The project uses 0.0.x versioning and is in beta status, meaning breaking changes including modifications to diagnostics may occur between versions. Users can try ty immediately through the uvx tool or via an interactive browser-based playground at play.ty.dev. The project is licensed under the MIT license and maintains documentation at docs.astral.sh/ty.

ty
by
astral-shastral-sh/ty

Repository Details

Fetching additional details & charts...