ty (original) (raw)

Project description

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 ofuv and Ruff.

ty is currently in beta.

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 anissue 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 thecontributing guide for more details.

Version policy

ty uses 0.0.x versioning. ty does not yet have a stable API; breaking changes, including changes to diagnostics, may occur between any two versions. See the type system supporttracking issue for a detailed overview of currently supported features.

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 orhttps://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.

Made by Astral

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distributions

Filter files by name, interpreter, ABI, and platform.

If you're not sure about the file name format, learn more about wheel file names.

Copy a direct link to the current filters

File details

Details for the file ty-0.0.49.tar.gz.

File metadata

File hashes

Hashes for ty-0.0.49.tar.gz | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 0a027bd0c9c75d035641a365d087ad883446057f9be0b9826251c2aecafbf145 | | | MD5 | 38a3b6f0bd48ccbe8dd9423f9d507408 | | | BLAKE2b-256 | 1d8d37cb91808069509d43a2a11743e12f1e854fd808dbef2203309d256718cd | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-win_arm64.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 75d5e2e7649765f31f4bed6c8adb149a75b18edd3fa6336dac4d0efc1a66466f | | | MD5 | c272721dbc93d9b96aefc2e2ddca461f | | | BLAKE2b-256 | efa28959249da951ba3977fee20e688d28678b8a1d30a9ed4464228a85d45853 | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-win_amd64.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | ae2142fc126a01effcca0c222908b0e6654b5ba1266d4e4d406e4866aef8e1d1 | | | MD5 | 5a58a2bd4f6a6d7275351ac5aa4c69cd | | | BLAKE2b-256 | d09d473ac8bc57b5a2d121da893bf9dd74a118efb19a01d711df1a6e397f05cc | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-win32.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-win32.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 7186af5ca9829d1f5d8916bcf767b8e819bfbf61b1b8ec843bb3fc699cb502e1 | | | MD5 | 9354071b814d6b1e50b2d9ba60462c9d | | | BLAKE2b-256 | 980fa2d6a5fc9d0786cbeb3c200786da4e18c203589be3984bb5def83ca92320 | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-musllinux_1_2_x86_64.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 91e81d832c287b05782ee32eb1b801f62c1fa08df37d589d2b88c3f1d51c9731 | | | MD5 | 286aa6cdcf3e40ff1e5fc08a0090cbdf | | | BLAKE2b-256 | 59e1fdb42ee239f618800842681af5bb8598117e74512c10974a8b7b9086a898 | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-musllinux_1_2_i686.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 166c6eb52ee4af3c5a9bb267d165d93000daa55c6758cd8ff3199741fb75917d | | | MD5 | f0e5c9777df1efdb2deec1f414b15492 | | | BLAKE2b-256 | a976c897e615e32f80ca81c8c1bc49b9a1f72ff9e3cfea0f8345ba505fe28472 | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-musllinux_1_2_armv7l.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 3724bd9badef333321578b6a941fbc571ebf49141ec2356a8590fbe4c9aa588d | | | MD5 | ec4a099827a48b9e02bd0395b3a293d3 | | | BLAKE2b-256 | 5a5b329e101638920b468a3bb63059c9f66ef99b44aac501222c44832a507321 | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-musllinux_1_2_aarch64.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 4f2fc2bc4a8d2ff1cca59fd94772cabdfec4062d47a0b3a0784be46d94d0540b | | | MD5 | 4365a96ac1970fd257af9deac1b556be | | | BLAKE2b-256 | 50d331b0c2a7fbedd3373e389cb1d81b8d2128f6f868fafb46557736a6f9aca8 | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-manylinux_2_31_riscv64.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-manylinux_2_31_riscv64.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 727bda86deb136073e525c2e78d60e38aedcce5d80579170844a52bbf7c1440d | | | MD5 | 63f22cfaf23f9c4eb974326447f23d9f | | | BLAKE2b-256 | 2f07392e80d78f02445f695b815bb9eb0fffacda68b03faee38c900f7b990815 | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 792d4974e93cc09bd32f934586080bbbe21b8e777099cb521cb2de18b68a49f0 | | | MD5 | b0bbf02bd841a3c0d6e55b17209a1f56 | | | BLAKE2b-256 | c9b8ded37fb93503294abbc83c36470bb1413bea05048b745881d4470b518a06 | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 5779179ab397d15f8c9dbb8f506ec1b1745f54eac639982f76ef3ce538943b50 | | | MD5 | d2c4113d68b03d076bd1d6e4f607c676 | | | BLAKE2b-256 | 85c99a505aba85c41ce54cbcaa14f8d79aa084b86151d2d70df11c4655b92898 | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 3de9f648564e0a66344ef397770387cb0d093735f8679d2c5a08a4741e79814d | | | MD5 | 6831b0bae5aa4c6471223c4190c2d59f | | | BLAKE2b-256 | 964c998ee13cd5045f1f8b36982de7343163832ac53f27debe01b0de0e8bd968 | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 1d96a67a206619e01fa92f35a22267ec634bba62be24b1d0e947020cc179995b | | | MD5 | eef07c970e22d08000bd12b9a030faa8 | | | BLAKE2b-256 | f236155f41c9dd7237c4b609211f29f77755a139ee6218605dadc7fe21d5e3c8 | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 10d85c6865c984e78661e0bd20b180514b4a289739224e84816e342bdf381e04 | | | MD5 | a7c01c5c3dd2e79e0f9feaabd117b62f | | | BLAKE2b-256 | 17dc5d09333d289dfbca1804eaade125c9e8a1a992a2a592a8b80c5e9b589ca9 | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | b4ce8ecf6ba6fc79bd137cc0557a754f7e5f2dfe9436412551d480d680e248ad | | | MD5 | b4683f9948c5daba454990f1bec57e04 | | | BLAKE2b-256 | 2245ece503e4a1396e13a1a9a0cde51afe476a6506a1d557eeadf8ad45c83bc0 | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-macosx_11_0_arm64.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | ab90c1baf3b1701d282fce4b02fa552a962d109f8972c46ef6b22429503bfea4 | | | MD5 | 290f37a8817f12cf56cbb2b9db9cc3eb | | | BLAKE2b-256 | 7d5830bdf98436488aca25f0763bf7f92a061528d42461b686453029e845e4c5 | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-macosx_10_12_x86_64.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 737bfdc2caf9712a8580944dcdc80a450a37a4f2bc83c8fa9b7433b374f9e471 | | | MD5 | ef30f336384fa871f9bd37fb7888934b | | | BLAKE2b-256 | 8f15daf5a14a5e07012277d450c75325c94614e2acfec4c620c881486118c410 | |

See more details on using hashes here.

File details

Details for the file ty-0.0.49-py3-none-linux_armv6l.whl.

File metadata

File hashes

Hashes for ty-0.0.49-py3-none-linux_armv6l.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 12c0c4310b936d762a8586c210b53d4fa4bb361a04429afa89bf84b922e5e065 | | | MD5 | 041fb56e936cce8df489de822ac550a3 | | | BLAKE2b-256 | cade9237c6a96356612dd0393db1e94cf21f903616adf3a3701bf3da6e4adc92 | |

See more details on using hashes here.