Team migrating from Mypy
Migrates a large Python project from Mypy by running `pyrefly init` to port configuration, then `pyrefly suppress` to silence legacy errors and enforce types on new code only.
Open source alternative to PyCharm Professional and SonarCloud
Last verified
Analyze Python codebases for type errors at blazing speed with a built-in language server for IDE integration.
Migrates a large Python project from Mypy by running `pyrefly init` to port configuration, then `pyrefly suppress` to silence legacy errors and enforce types on new code only.
Installs the Pyrefly VSCode extension to get sub-10ms type-check feedback in the editor instead of waiting for a full Mypy run.
Adds Pyrefly to CI to catch type errors in a Pydantic-heavy data pipeline before they reach production.
Uses Pyrefly to verify type annotations are complete and correct before publishing a new release to PyPI.
Gets autocomplete and type errors on model fields directly in their editor using Pyrefly's built-in Django support.
Python type checking with Mypy or Pyright becomes painfully slow on large codebases: a full check of a project like PyTorch can take minutes, breaking the development feedback loop. Language servers with separate type checker and IDE backends produce inconsistent results between the CLI and the editor. Teams adopting type checking incrementally get blocked by the difficulty of migrating existing untyped code without triggering thousands of new errors in code they are not currently working on.
Checks 1.85 million lines of code per second, 15x faster than Mypy on projects like PyTorch
IDE rechecks typically complete in under 10ms after saving a file, keeping the feedback loop tight
Full language server: code navigation, autocomplete, hover information, inlay hints, and semantic highlighting in VSCode, Neovim, Zed, and more
`pyrefly init` migrates existing projects from Mypy or Pyright; `pyrefly suppress` silences pre-existing errors for incremental adoption
Built-in support for Pydantic and Django with framework-aware model validation and field-type autocomplete
Production-proven at Meta across Instagram (20 million lines) and adopted by PyTorch and JAX
pyrefly is an MIT-licensed Python type checker and language server that competes with proprietary IDE typing experiences such as Pylance in VS Code and PyCharm inspections.
vs Pylance: Pylance gives VS Code users a polished proprietary language server with Python analysis settings built into the Microsoft Python workflow. pyrefly is the better fit when you want the same checker available in CI, the terminal, VS Code, Neovim, Zed, and other editors, with one command-line tool and one set of diagnostics.
vs PyCharm: PyCharm is stronger when a team wants a full commercial Python IDE with inspections, navigation, refactoring, debugger, and JetBrains support in one product. pyrefly is narrower: it focuses on fast type checking, IDE diagnostics, language-server features, and migration from mypy or pyright with the pyrefly init command.
vs mypy or Pyright workflows: pyrefly is most compelling for large Python codebases that need faster checks and consistent CLI plus editor behavior. Existing mypy or Pyright setups may still be safer when plugin compatibility, long-established behavior, or exact diagnostic stability matters more than speed.
pip install pyreflyRun pyrefly init at your project root. It reads your mypy.ini or setup.cfg configuration and generates a Pyrefly config. Then run pyrefly suppress to add inline suppressions for existing errors so you start clean without touching legacy code.
Yes. The language server and CLI share the same type-checking engine. You get consistent results whether you are running a check in CI or getting hover information in your editor.
No. Pyrefly targets Python 3 and the modern type annotation syntax introduced in PEP 484 and subsequent PEPs. Python 2 is not supported.
Alternative to
CodeScene
Codebase intelligence: MCP tools for agents, health scores for teams.
Alternative to
CodeDashboard
Review code changes as architecture maps, not line diffs
Alternative to
Lovable
Local, open-source AI app builder with your own API keys
Alternative to
Dust
Open source AI workspace with sandboxed apps and Gatekeeper security
Typed errors, DI, and concurrency for TypeScript
Alternative to
AWS Amplify
Open source Apple SDK for Firebase auth, data, push and crashes
Featured
Alternative to
Superhuman
AI email assistant that drafts replies and clears your inbox
Alternative toClaude Managed Agents
Open-source agent deployment API. Self-host or use Omnara Cloud.
Alternative to
Grok Bot
AI teammates you own: your keys, your model, your machine.
The projects we add and every new guide. Free, unsubscribe any time.