# ty

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

Source: https://talira.ai/catalog/ty-aw94qs4x
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / type checking](https://talira.ai/categories/developer-tools/type-checking), [languages / python](https://talira.ai/categories/languages/python)
- Platforms: linux, macos, windows[^3]
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Backed by: [Astral](https://talira.ai/orgs/astral.md)
- Funding: Series B[^4]

ty is a Python type checker and language server from Astral, the makers of [uv](https://talira.ai/catalog/uv-4x6kck1t.md) and Ruff, written in Rust and 10 to 100 times faster than mypy and Pyright. `ty check` reports diagnostics with rich context, with configurable rule levels, per-file overrides, suppression comments and first-class project support, and it's designed for adopting on existing code, supporting redeclarations and partially typed code. Its type system has first-class intersection types, advanced narrowing and reachability analysis. The language server gives editors navigation, completions, code actions, auto-import, inlay hints and hover help with fine-grained incremental analysis, with integrations for VS Code, PyCharm and Neovim. It's in beta (0.0.x versions without a stable API) and MIT licensed.

## Links

- Website: https://docs.astral.sh/ty/
- GitHub: https://github.com/astral-sh/ty

## Problems it solves

- type check a large Python codebase much faster than mypy or Pyright
- a fast Python language server for completions and go-to-definition in my editor
- add type checking to an existing partially typed Python project gradually
- catch Python type errors in CI quickly
- configure which Python type errors are errors, warnings or ignored per file
- get type errors as I type in VS Code, PyCharm or Neovim without lag

## Features

- 10x-100x faster than mypy and Pyright
- diagnostics with rich contextual information
- configurable rule levels, per-file overrides and suppression comments
- support for redeclarations and partially typed code
- intersection types, advanced type narrowing and reachability analysis
- language server with navigation, completions, code actions, auto-import, inlay hints and hover
- fine-grained incremental analysis in the editor
- VS Code, PyCharm and Neovim integrations
- online playground
- install with uv, pip, pipx, a standalone installer or Docker

## Limitations

- Beta: ty uses 0.0.x versions without a stable API, so diagnostics and behaviour can change between any two versions

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.42 out of 1.
Signals: backing 0.55, extensibility 0.20.

- backed by Astral
- funding: Series B

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Pyright](https://talira.ai/catalog/pyright-8xnxsfgw.md): Static type checker for Python
- [mypy](https://talira.ai/catalog/mypy-b1eegf0c.md): Optional static typing for Python
- [Pylance](https://talira.ai/catalog/pylance-cv0es80q.md): A performant, feature-rich language server for Python in VS Code
- [Sorbet](https://talira.ai/catalog/sorbet-7qt3f670.md): A fast, powerful type checker designed for Ruby
- [TypeScript](https://talira.ai/catalog/typescript-w0asrgz8.md): JavaScript with static types, compiled to plain JavaScript
- [Steep](https://talira.ai/catalog/steep-b16cnbv6.md): Gradual typing for Ruby

## Sources

[^1]: https://github.com/astral-sh/ty/blob/main/LICENSE (checked 24 Nov 2026)
[^2]: https://github.com/astral-sh/ty (checked 24 Nov 2026)
[^3]: https://docs.astral.sh/ty/installation/ (checked 24 Nov 2026)
[^4]: https://astral.sh/blog/openai (checked 20 Nov 2026)
