Pyrefly
A fast Python type checker and language server written in Rust
访问官网概览
Python type checkers have a reputation: thorough, and slow enough that you run them less often than you should. Pyrefly was written in Rust to remove that excuse.
A fast type checker and language server in one. Run it from the command line for checking, and get the same results in your editor — go-to-definition, autocompletion and code navigation — so the CLI and the IDE never disagree about your code.
What it covers
- Fast CLI type checking — written in Rust for speed
- Full language server — go-to-definition, autocompletion and code navigation
- Consistent results — the same answers in the terminal and in the editor
- Framework support built in — Pydantic, Django and pytest
- Experimental extras — including PyTorch tensor shape checking
Who it's for
Python teams whose codebase has outgrown 'run the checker overnight' — and anyone who wants editor feedback and CI checks to be the same check.