[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-2566":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},2566,"ty","astral-sh\u002Fty","astral-sh","An extremely fast Python type checker and language server, written in Rust.","https:\u002F\u002Fdocs.astral.sh\u002Fty\u002F",null,"Python",18918,297,53,790,0,15,82,338,66,42.42,"MIT License",false,"main",[],"2026-06-12 02:00:42","# ty\n\n[![ty](https:\u002F\u002Fimg.shields.io\u002Fendpoint?url=https:\u002F\u002Fraw.githubusercontent.com\u002Fastral-sh\u002Fty\u002Fmain\u002Fassets\u002Fbadge\u002Fv0.json)](https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fty)\n[![PyPI](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Fty.svg)](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fty)\n[![Discord](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-%235865F2.svg?logo=discord&logoColor=white)](https:\u002F\u002Fdiscord.com\u002Finvite\u002Fastral-sh)\n\nAn extremely fast Python type checker and language server, written in Rust.\n\n\u003Cbr \u002F>\n\n\u003Cp align=\"center\">\n  \u003Cimg alt=\"Shows a bar chart with benchmark results.\" width=\"500px\" src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fastral-sh\u002Fty\u002Fmain\u002Fdocs\u002Fassets\u002Fty-benchmark-cli.svg\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ci>Type checking the \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fhome-assistant\u002Fcore\">home-assistant\u003C\u002Fa> project without caching.\u003C\u002Fi>\n\u003C\u002Fp>\n\n\u003Cbr \u002F>\n\nty is backed by [Astral](https:\u002F\u002Fastral.sh), the creators of\n[uv](https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fuv) and [Ruff](https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fruff).\n\nty is currently in [beta](#version-policy).\n\n## Highlights\n\n- 10x - 100x faster than mypy and Pyright\n- Comprehensive [diagnostics](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Ffeatures\u002Fdiagnostics\u002F) with rich contextual information\n- Configurable [rule levels](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Frules\u002F), [per-file overrides](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Freference\u002Fconfiguration\u002F#overrides), [suppression comments](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Fsuppression\u002F), and first-class project support\n- Designed for adoption, with support for [redeclarations](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Ffeatures\u002Ftype-system\u002F#redeclarations) and [partially typed code](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Ffeatures\u002Ftype-system\u002F#gradual-guarantee)\n- [Language server](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Ffeatures\u002Flanguage-server\u002F) with code navigation, completions, code actions, auto-import, inlay hints, on-hover help, etc.\n- Fine-grained [incremental analysis](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Ffeatures\u002Flanguage-server\u002F#fine-grained-incrementality) designed for fast updates when editing files in an IDE\n- Editor integrations for [VS Code](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Feditors\u002F#vs-code), [PyCharm](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Feditors\u002F#pycharm), [Neovim](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Feditors\u002F#neovim) and more\n- Advanced typing features like first-class [intersection types](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Ffeatures\u002Ftype-system\u002F#intersection-types), advanced [type narrowing](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Ffeatures\u002Ftype-system\u002F#top-and-bottom-materializations), and\n    [sophisticated reachability analysis](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Ffeatures\u002Ftype-system\u002F#reachability-based-on-types)\n\n## Getting started\n\nRun ty with [uvx](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Fguides\u002Ftools\u002F#running-tools) to get started quickly:\n\n```shell\nuvx ty check\n```\n\nOr, check out the [ty playground](https:\u002F\u002Fplay.ty.dev) to try it out in your browser.\n\nTo learn more about using ty, see the [documentation](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002F).\n\n## Installation\n\nTo install ty, see the [installation](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Finstallation\u002F) documentation.\n\nTo add the ty language server to your editor, see the [editor integration](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Feditors\u002F) guide.\n\n## Getting help\n\nIf you have questions or want to report a bug, please open an\n[issue](https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fty\u002Fissues) in this repository.\n\nYou may also join our [Discord server](https:\u002F\u002Fdiscord.com\u002Finvite\u002Fastral-sh).\n\n## Contributing\n\nDevelopment of this project takes place in the [Ruff](https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fruff) repository\nat this time. Please [open pull requests](https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fruff\u002Fpulls) there for changes\nto anything in the `ruff` submodule (which includes all of the Rust source code).\n\nSee the\n[contributing guide](.\u002FCONTRIBUTING.md) for more details.\n\n## Version policy\n\nty uses `0.0.x` versioning. ty does not yet have a stable API; breaking changes, including changes\nto diagnostics, may occur between any two versions. See the [type system support](https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fty\u002Fissues\u002F1889)\ntracking issue for a detailed overview of currently supported features.\n\n## FAQ\n\n\u003C!-- We intentionally use smaller headings for the FAQ items -->\n\n\u003C!-- markdownlint-disable MD001 -->\n\n#### Why is ty doing \\_\\_\\_\\_\\_?\n\nSee our [typing FAQ](https:\u002F\u002Fdocs.astral.sh\u002Fty\u002Freference\u002Ftyping-faq).\n\n#### How do you pronounce ty?\n\nIt's pronounced as \"tee - why\" ([`\u002Ftiː waɪ\u002F`](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FHelp:IPA\u002FEnglish#Key))\n\n#### How should I stylize ty?\n\nJust \"ty\", please.\n\n\u003C!-- markdownlint-enable MD001 -->\n\n## License\n\nty is licensed under the MIT license ([LICENSE](LICENSE) or\n\u003Chttps:\u002F\u002Fopensource.org\u002Flicenses\u002FMIT>).\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in ty\nby you, as defined in the MIT license, shall be licensed as above, without any additional terms or\nconditions.\n\n\u003Cdiv align=\"center\">\n  \u003Ca target=\"_blank\" href=\"https:\u002F\u002Fastral.sh\" style=\"background:none\">\n    \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fastral-sh\u002Fuv\u002Fmain\u002Fassets\u002Fsvg\u002FAstral.svg\" alt=\"Made by Astral\">\n  \u003C\u002Fa>\n\u003C\u002Fdiv>\n","ty 是一个用 Rust 编写的极快速的 Python 类型检查器和语言服务器。它比 mypy 和 Pyright 快 10 到 100 倍，并提供全面的诊断信息，包括丰富的上下文信息、可配置的规则级别、文件级覆盖以及抑制注释等功能。此外，ty 还支持先进的类型系统特性，如交集类型和高级类型收窄等。它适用于需要高效类型检查与代码分析的大型 Python 项目开发场景，特别是在使用 IDE 如 VS Code、PyCharm 或 Neovim 进行开发时，通过其内置的语言服务器功能，能够显著提高编码效率和质量。",2,"2026-06-11 02:50:21","top_language"]