pylama
Code audit tool for python. (by klen)
ruff
An extremely fast Python linter and code formatter, written in Rust. (by astral-sh)
pylama | ruff | |
---|---|---|
5 | 125 | |
1,053 | 40,842 | |
0.2% | 3.3% | |
0.0 | 10.0 | |
about 1 year ago | 3 days ago | |
Python | Rust | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pylama
Posts with mentions or reviews of pylama.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-18.
-
Enhance Your Project Quality with These Top Python Libraries
Pylama is a code audit tool for Python that wraps tools like Pylint, pycodestyle, PyFlakes, McCabe, and others to provide a unified interface.
-
How pythonic is enough pythonic?
Use a code linter. And potentially use black.
-
Newbie here: blank spaces for better code readability?
Use a linter like pylama
-
Advice on training Python best practices
Lint your code. I recommend pylama.
-
Code Quality Tools in Python
Linters analyze code to detect various categories of issues like logistical issue and stylistic issues. Some popular linters are Pylint, pycodestyle, Flake8 and Pylama.
ruff
Posts with mentions or reviews of ruff.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-07-11.
-
What Rust projects are you most excited about?
I am also looking forward to uv, the really fast Python package manager written in Rust. I think Rust tooling for Python has great potential. Astral is also making a project called Ruff, which is a formatter and I'm also very excited about that.
-
Python MCP Remote Server — The Dawn of the Streamable HTTP Era ~ With a Minimalist Template Featuring uv / Docker / pytest ~
Ruff: A Rust-based, ultra-fast Python linter and formatter developed by Astral (official website). What's astounding is not just its speed, but its ability to cover most of the checks and formatting previously done by multiple tools like Flake8, isort, pydocstyle, pyupgrade, etc., with Ruff alone. This simplifies configuration files and significantly reduces tool management costs. Ruff hooks are defined in .pre-commit-config.yaml. When you try to commit, static code analysis (detecting potential bugs or deprecated practices) and formatting (unifying coding style) are automatically executed. If issues are found, the commit is aborted, prompting you to fix them. In many cases, Ruff can automatically fix the problems it finds.
-
Ty: An fast Python type checker and language server, written in Rust
I also asked this question here: https://github.com/astral-sh/ruff/discussions/15149#discussi....
-
Nix-Powered Python Development
These requirements are not too uncommon. I have seen many projects with similar setup, with alternatives such as tox instead of nox, or black and pylint instead of ruff, etc.
- Ty: Astral's New Type Checker (Formerly Red-Knot) – Talk Python Live Stream [video]
-
Nix Flake Templates
Use ruff, more recently, for formatting and linting that replaces the above four tools.
-
Ruff and Ready: Linting Before the Party
$ ruff check --statistics --output-format=json | jq --raw-output --from-file ignore.jq "D200", ## 2249 https://docs.astral.sh/ruff/rules/unnecessary-multiline-docstring/ "S101", ## 1484 https://docs.astral.sh/ruff/rules/assert/ "COM812", ## 539 * https://docs.astral.sh/ruff/rules/missing-trailing-comma/ "D401", ## 446 https://docs.astral.sh/ruff/rules/non-imperative-mood/ ... TRUNCATED ... "RUF100", ## 1 * https://docs.astral.sh/ruff/rules/ruff-specific-rules/ "RUF010", ## 1 * https://docs.astral.sh/ruff/rules/explicit-f-string-type-conversion/
-
Pyrefly
It has the codename "Red Knot".
See the crates starting with red_knot in this directory to follow its development: https://github.com/astral-sh/ruff/tree/main/crates
-
Mastering Python Project Management with uv: Part 4 — CI/CD & Docker
That’s where Ruff comes in — an ultra-fast Python linter and formatter that’s written in Rust and integrates perfectly with uv.
-
Boost Your Django Docker Images by using UV package and project manager
UV is an ultra-fast Python package manager written in Rust by the Astral team. You might already be familiar with another great product from Astral - ruff (popular Python linter).
What are some alternatives?
When comparing pylama and ruff you can also consider the following projects:
Pylint - It's not just a linter that annoys you!
pyright - Static Type Checker for Python
Flake8 - flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
mypy - Optional static typing for Python
prospector - Inspects Python source files and provides information about type and location of classes, methods etc