macOS
brew install tylocal Homebrew formula metadata
安装
brew install tylocal Homebrew formula metadata
sudo apk add tyAlpine Linux edge package indexes · ty · 来源: dl-cdn.alpinelinux.org
sudo dnf install tyFedora Rawhide package metadata · ty · 来源: dl.fedoraproject.org
nix profile install nixpkgs#tynixpkgs package indexes · pkgs/by-name/ty/ty/package.nix · 来源: api.github.com
sudo pacman -S tyArch Linux sync databases · ty · 来源: geo.mirror.pkgbuild.com
sudo zypper install python313-tyopenSUSE Tumbleweed package metadata · python313-ty · 来源: download.opensuse.org
scoop install main/tyScoop official bucket manifest trees · bucket/ty.json · 来源: api.github.com
winget install --id astral-sh.ty -eWindows Package Manager source index · astral-sh.ty · 来源: cdn.winget.microsoft.com
概览
Extremely fast Python type checker, written in Rust
历史
ty is Astral's Rust-written Python type checker and language server. Astral presents it as the next tool in the same high-performance Python developer-tooling line as Ruff and uv.
Astral announced ty as a beta type checker and language server after building a reputation around fast Python tooling. The official README states that ty is in beta, uses 0.0.x versioning, and does not yet promise a stable API, so its history is still early and deliberately pre-1.0.
The project is developed in close relationship with Ruff: the README says development currently takes place in the Ruff repository for changes to the Rust source contained in its submodule.
Astral positions ty as an alternative to mypy, Pyright, and Pylance, emphasizing speed, gradual adoption, editor features, and support for partially typed code. The docs and README highlight editor integrations for VS Code, PyCharm, Neovim, and other LSP-capable clients.
The Homebrew formula's presence alongside packages in apk, dnf, Nix, Arch, Scoop, Winget, and zypper reflects rapid package-manager adoption typical of Astral tools, even while ty remains beta.
Package users run `ty check` from the CLI or use ty as a language server in editors. The README recommends `uvx ty check` for quick use, while the documentation covers installation, configuration, diagnostics, suppression comments, project support, and editor setup.
ty matters in the package-manager niche because it extends the modern Rust-for-Python-tooling pattern from Ruff and uv into static typing. For maintainers, it is another fast single-command tool that can be wired into editors, CI, pre-commit workflows, and distro packages without a bespoke Python runtime story.
安全态势
没有找到 ty 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
pyproject.tomlty.toml~/.config/ty/ty.toml$XDG_CONFIG_HOME/ty/ty.tomlpyproject.tomlty.toml%APPDATA%\ty\ty.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ty | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:ty |
|---|---|
| 版本 | 0.0.65 |
| 软件包管理器 | Homebrew |
| 主页 | https://docs.astral.sh/ty/ |
| 仓库 | https://github.com/astral-sh/ty |
| 最后更新 | 2026-07-30T19:13:13Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
ty
nix profile install nixpkgs#tyty 0.0.63-r0
Extremely fast Python type checker
https://github.com/astral-sh/ty
sudo apk add tyty-bash-completion 0.0.63-r0
Bash completions for ty
https://github.com/astral-sh/ty
sudo apk add ty-bash-completionty-fish-completion 0.0.63-r0
Fish completions for ty
https://github.com/astral-sh/ty
sudo apk add ty-fish-completionty-pyc 0.0.63-r0
Precompiled Python bytecode for ty
https://github.com/astral-sh/ty
sudo apk add ty-pycty-zsh-completion 0.0.63-r0
Zsh completions for ty
https://github.com/astral-sh/ty
sudo apk add ty-zsh-completionpython3-ty 0.0.58-2.fc45
Importable Python module for ty
https://github.com/astral-sh/ty
sudo dnf install python3-tyty 0.0.58-2.fc45
Extremely fast Python type checker and language server
https://github.com/astral-sh/ty
sudo dnf install tyty 0.0.65-1
Extremely fast Python type checker and language server, written in Rust
https://github.com/astral-sh/ty
sudo pacman -S typython313-ty 0.0.56-1.2
An extremely fast Python type checker and language server, written in Rust
https://github.com/astral-sh/ty
sudo zypper install python313-typython314-ty 0.0.56-1.2
An extremely fast Python type checker and language server, written in Rust
https://github.com/astral-sh/ty
sudo zypper install python314-tymain/ty
scoop install main/tyastral-sh.ty
winget install --id astral-sh.ty -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.