ruff
An extremely fast Python linter and code formatter, written in Rust.
Decision gist · record as of 2026-08-14
Yes. Ruff is production-stable, actively maintained, has zero security vulnerabilities, carries a permissive MIT license, and eliminates install friction with pre-built wheels. It consolidates multiple tools into one with documented feature parity, making it a straightforward upgrade for most Python projects. The only reason to hesitate is if your project relies on obscure plugins or custom configurations not yet supported.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Ruff is actively maintained with a release 1 day old and has no runtime dependencies, making installation straightforward.
- Pre-built wheels cover all major platforms including Linux, macOS, Windows, and ARM architectures, eliminating compilation friction on most systems.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal restrictions.
last release 2026-08-13 (1 days) · last repo commit 2026-08-14 · 49,188 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 316,068,296 downloads/mo, #132 on PyPI
Alternatives
Verify before relying
pip install ruff
# Lint all files in current directory
ruff check .
# Format all files
ruff format .
# Fix issues automatically
ruff check --fix .- Whether the 900 built-in rules cover all linting needs for your specific codebase
- Performance gains relative to your current toolchain on your actual project size
- Compatibility of configuration migration from existing tool setups
What it is and what it does
Ruff is a single unified tool for Python code quality written in Rust, designed to replace multiple separate tools—Flake8 (plus plugins), Black, isort, pydocstyle, pyupgrade, and autoflake. It performs linting with over 900 built-in rules, code formatting, and automatic fixes for common issues like unused imports, all while maintaining drop-in parity with the tools it replaces.
The package is designed for developers who want to consolidate their Python tooling without sacrificing functionality or speed. It supports pyproject.toml configuration, hierarchical project structures, built-in caching to skip unchanged files, and integrates with VS Code, pre-commit hooks, and GitHub Actions. With no runtime dependencies and pre-built wheels for all major platforms and architectures, installation is frictionless.
Use it for
- Replace multiple linting and formatting tools in an existing project to reduce CI/CD time and local development friction
- Set up code quality checks in a monorepo with hierarchical configuration that cascades across subdirectories
- Automatically fix common code issues as part of a pre-commit or CI workflow
- Integrate Python code quality into editor workflows via VS Code extension for real-time feedback
- Migrate from multiple tools to a single tool without rewriting configuration or losing rule coverage
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Ruff is production-stable, actively maintained, has zero security vulnerabilities, carries a permissive MIT license, and eliminates install friction with pre-built wheels. It consolidates multiple tools into one with documented feature parity, making it a straightforward upgrade for most Python projects. The only reason to hesitate is if your project relies on obscure plugins or custom configurations not yet supported.
Install
ruff on PyPI
Before you install
Ruff is actively maintained with a release 1 day old and has no runtime dependencies, making installation straightforward. Pre-built wheels cover all major platforms including Linux, macOS, Windows, and ARM architectures, eliminating compilation friction on most systems.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal restrictions.
Quickstart
pip install ruff
# Lint all files in current directory
ruff check .
# Format all files
ruff format .
# Fix issues automatically
ruff check --fix .
Verify before relying
- Whether the 900 built-in rules cover all linting needs for your specific codebase
- Performance gains relative to your current toolchain on your actual project size
- Compatibility of configuration migration from existing tool setups
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 316,068,296 / month, #132 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: RustTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality Assurance |
Evidence: ruff-0.16.3-py3-none-linux_armv6l.whl; ruff-0.16.3-py3-none-macosx_10_12_x86_64.whl; ruff-0.16.3-py3-none-macosx_11_0_arm64.whl; ruff-0.16.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; ruff-0.16.3-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; ruff-0.16.3-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl; ruff-0.16.3-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; ruff-0.16.3-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl; ruff-0.16.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; ruff-0.16.3-py3-none-manylinux_2_31_riscv64.whl; ruff-0.16.3-py3-none-musllinux_1_2_aarch64.whl; ruff-0.16.3-py3-none-musllinux_1_2_armv7l.whl; ruff-0.16.3-py3-none-musllinux_1_2_i686.whl; ruff-0.16.3-py3-none-musllinux_1_2_x86_64.whl; ruff-0.16.3-py3-none-win32.whl; ruff-0.16.3-py3-none-win_amd64.whl; ruff-0.16.3-py3-none-win_arm64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “fast python linter formatter”
- ruffRuff is a Python linter and code formatter written in Rust that…
- rumdlA Rust-based Markdown linter and formatter that checks files against…
- tombiTombi is a TOML formatter, linter, and language server that provides…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pytest-ruff · ruff-format · ty · rumdl · python-lsp-ruff · lintrunner-adapters · ruff-lsp · bar-raiser · prophecy-libs · cython-lint