An extremely fast Python type checker and language server, written in Rust.
Find a file
Matthew Mckee 02351f9fa9
Some checks failed
CI / python package (push) Has been cancelled
CI / pre-commit (push) Has been cancelled
CI / Check generated files unedited (push) Has been cancelled
CI / mkdocs (push) Has been cancelled
Update diagnosticMode editor setting to include off option (#2164)
2025-12-22 17:19:04 +01:00
.github Update mkdocs-material to 9.7.0 (#1860) 2025-12-12 10:33:53 +05:30
assets/badge ty badge (#897) 2025-07-28 20:35:08 +01:00
docs Update diagnosticMode editor setting to include off option (#2164) 2025-12-22 17:19:04 +01:00
python/ty add py.typed (#276) 2025-05-08 09:00:10 -07:00
ruff@ad41728204 Bump version to 0.0.5 (#2132) 2025-12-20 19:33:23 +00:00
scripts Add repair of the benchmark images to the PyPI readme transform (#1947) 2025-12-16 11:24:58 -06:00
.editorconfig Move TOML indent size config (#251) 2025-05-07 18:13:32 +00:00
.gitattributes [CI] Add check for changes in autogenerated files (#415) 2025-05-16 08:05:04 +02:00
.gitignore Initial commit 2025-05-02 11:37:31 -05:00
.gitmodules Add ruff as a submodule 2025-05-02 11:41:08 -05:00
.markdownlint.yaml Update pre-commit dependencies (#809) 2025-07-11 07:59:44 +00:00
.pre-commit-config.yaml Update pre-commit dependencies (#1694) 2025-12-01 00:40:55 +00:00
.python-version Commit the uv.lock and .python-version files (#61) 2025-05-06 09:45:39 -05:00
_typos.toml Bump version to 0.0.1-alpha.21 (#1205) 2025-09-19 08:42:23 +02:00
BENCHMARKS.md Bump version to 0.0.2 (beta release) (#1954) 2025-12-16 11:57:31 -08:00
CHANGELOG.md Bump version to 0.0.5 (#2132) 2025-12-20 19:33:23 +00:00
CODE_OF_CONDUCT.md Update email in code of conduct (#55) 2025-05-06 08:32:29 +02:00
CONTRIBUTING.md Update mkdocs-material to 9.7.0 (#1860) 2025-12-12 10:33:53 +05:30
dist-workspace.toml Bump version to 0.0.5 (#2132) 2025-12-20 19:33:23 +00:00
Dockerfile Enable Docker build workflow (#38) 2025-05-05 15:48:32 -05:00
LICENSE Drop -MIT suffix from license file (#26) 2025-05-05 08:31:14 -05:00
mkdocs.yml Add typing FAQ (#2006) 2025-12-17 14:20:38 +01:00
pyproject.toml Bump version to 0.0.5 (#2132) 2025-12-20 19:33:23 +00:00
README.md Link to the typing faq in the README (#2009) 2025-12-17 14:09:23 +00:00
SECURITY.md Add SECURITY.md (#23) 2025-05-05 15:18:41 +02:00
uv.lock Bump version to 0.0.5 (#2132) 2025-12-20 19:33:23 +00:00

ty

ty PyPI Discord

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


Shows a bar chart with benchmark results.

Type checking the home-assistant project without caching.


ty is backed by Astral, the creators of uv and Ruff.

Highlights

Getting started

Run ty with uvx to get started quickly:

uvx ty check

Or, check out the ty playground to try it out in your browser.

To learn more about using ty, see the documentation.

Installation

To install ty, see the installation documentation.

To add the ty language server to your editor, see the editor integration guide.

Getting help

If you have questions or want to report a bug, please open an issue in this repository.

You may also join our Discord server.

Contributing

Development of this project takes place in the Ruff repository at this time. Please open pull requests there for changes to anything in the ruff submodule (which includes all of the Rust source code).

See the contributing guide for more details.

FAQ

Why is ty doing _____?

See our typing FAQ.

How do you pronounce ty?

It's pronounced as "tee - why" (/tiː waɪ/)

How should I stylize ty?

Just "ty", please.

License

ty is licensed under the MIT license (LICENSE or https://opensource.org/licenses/MIT).

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in ty by you, as defined in the MIT license, shall be licensed as above, without any additional terms or conditions.