astral-sh/ruff
Apps
Five binary deliverables ship from this workspace. Each is a thin entry point that composes shared crates from crates/.
| App | Crate | What it is |
|---|---|---|
ruff |
crates/ruff |
The Ruff CLI: check, format, analyze graph, clean, config, version, server, rule, linter. |
ty |
crates/ty |
The ty CLI: check, server, version, plus diagnostic and config helpers. |
| Ruff LSP server | crates/ruff_server |
The language server invoked by ruff server. Powers VS Code, Neovim, JetBrains, Zed integrations. |
| ty LSP server | crates/ty_server |
The language server invoked by ty server. |
| Web playgrounds | crates/ruff_wasm, crates/ty_wasm |
WebAssembly bindings consumed by playground/. |
How they relate
graph LR
User[user / editor]
User --> RuffCli[ruff CLI]
User --> TyCli[ty CLI]
User --> RuffServerCli[ruff server]
User --> TyServerCli[ty server]
User --> Browser[browser playground]
RuffCli --> RuffLinter[ruff_linter]
RuffCli --> RuffFormatter[ruff_python_formatter]
RuffCli --> RuffWorkspace[ruff_workspace]
RuffServerCli --> RuffServer[ruff_server crate]
RuffServer --> RuffLinter
RuffServer --> RuffFormatter
TyCli --> TySemantic[ty_python_semantic]
TyCli --> TyProject[ty_project]
TyServerCli --> TyServer[ty_server crate]
TyServer --> TySemantic
TyServer --> TyIde[ty_ide]
Browser --> RuffWasm[ruff_wasm]
Browser --> TyWasm[ty_wasm]
RuffWasm --> RuffLinter
RuffWasm --> RuffFormatter
TyWasm --> TySemanticPages
ruffCLI — subcommands, args, output formats.tyCLI — type-checker entry point and project resolution.- LSP servers —
ruff serverandty server, capabilities and editor integrations. - WASM playgrounds —
ruff_wasmandty_wasm, the in-browser entry points.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.