astral-sh

    astral-sh/ty

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

    backend
    Python
    MIT
    20.0K stars
    348 forks
    52 GitHub watchers
    Updated Nov 6, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest today, with 58 contributors on GitHub.

    Use Cases & Benefits

    • Provides an extremely fast Python type checker and language server implemented in Rust.
    • Delivers high performance type checking for Python projects by leveraging Rust's speed and efficiency.
    • Use for quickly identifying type errors in Python codebases during development to improve code quality.
    • Use for integrating type checking into Python projects that utilize virtual environments for dependency management.
    • Use for developers seeking a Rust-based tool to enhance Python static analysis and language server capabilities.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

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

    Try out the online playground, or run ty with uvx to get started quickly:

    For other ways to install ty, see the installation documentation.

    If you do not provide a subcommand, ty will list available commands — for detailed information about command-line options, see the CLI reference.

    Use the check command to run the type checker:

    ty will run on all Python files in the working directory and or subdirectories. If used from a project, ty will run on all Python files in the project (starting in the directory with the pyproject.toml)

    You can also provide specific paths to check:

    When type checking, ty will find installed packages in the active virtual environment (via VIRTUAL_ENV) or discover a virtual environment named .venv in the project root or working directory. It will not find packages in non-virtual environments without specifying the target path with --python. See the module discovery documentation for details.

    To learn more about using ty, see the documentation.

    Excerpt from the astral-sh/ty README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    348+25

    Open issues

    984+127

    Compared with peers in Backend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    astral-sh/ty compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills192.3K+5.2K75—
    zed-industries/zed94.7K+2.3K756 days ago
    google/skills23.8K+2.0K75—
    NationalSecurityAgency/ghidra99.4K+1.8K7519 days ago
    DuarteSantos8/openGym20.8K+1.7K757 days ago
    astral-sh/ty20.0K—45today
    Category median94.7K+2.0K75—

    Also by astral-sh

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description