pylama VS yapf

Compare pylama vs yapf and see what are their differences.


Code audit tool for python. (by klen)


A formatter for Python files (by google)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
pylama yapf
2 4
819 12,180
- 0.9%
0.0 7.6
3 months ago 19 days ago
Python Python
GNU Library General Public License v2 or later Apache License 2.0
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.


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 2021-10-09.


Posts with mentions or reviews of yapf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-09.
  • Code Quality Tools in Python
    9 projects | | 9 Oct 2021
    YAPF (Yet Another Python Formatter) is Google's official python formatter which follows google's style guide. The documentation is easy to understand the installation and configuration for this formatter.
  • Sunday Daily Thread: What's everyone working on this week?
    10 projects | | 7 Aug 2021
    You could also try yapf - it's slower to run but has more customization options. I would recommend it if you dislike how black formatting looks, but it may take some time to figure out the customization options you like. Also if you're on a team that likes to argue about style, then you may find yourself arguing about yapf configuration instead!
  • [HELP][Tabs] Automatically select intent character based on file.
    4 projects | | 29 Dec 2020
    Or simply fix the python files by executing a fixer upon them, no need to even use Vim. I use yapf
  • Python: Setting Up Project Environment
    12 projects | | 13 Oct 2020
    Black is the uncompromising Python code formatter provided by the Python Software Foundation. An alternative to black is yapf, distributed by Google. Both tools have their own strengths and weaknesses, but in my personal opinion, black is a bit easier to use.

What are some alternatives?

When comparing pylama and yapf you can also consider the following projects:

black - The uncompromising Python code formatter

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.

Pylint - It's not just a linter that annoys you!

prospector - Inspects Python source files and provides information about type and location of classes, methods etc

isort - A Python utility / library to sort imports.

PythonBuddy - 1st Online Python Editor With Live Syntax Checking and Execution


mypy - Optional static typing for Python

awesome-python-typing - Collection of awesome Python types, stubs, plugins, and tools to work with them.

dotenv-linter - ⚡️Lightning-fast linter for .env files. Written in Rust 🦀

autopep8 - A tool that automatically formats Python code to conform to the PEP 8 style guide.

pyenv-installer - This tool is used to install `pyenv` and friends.