pylama VS black

Compare pylama vs black and see what are their differences.

Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
pylama black
2 109
825 23,769
- 1.7%
8.5 9.4
2 days ago 1 day ago
Python Python
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.


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 black. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-30.
  • Julia 1.7 has been released
    15 projects | | 30 Nov 2021
    I don't understand how it's ever an actual problem and not just people being lazy / literally just starting out learning the language. Every Python-capable editor / IDE is capable of, and immediately will, notify you of any formatting issues of the sort. Python also has great, trivial to use autoformatters like black[1] that essentially all production code should use.

    What realistic scenario is there where it actually makes sense deviating from the standard the language is trying to enforce?


  • Cómo evaluar su lugar de trabajo actual
    3 projects | | 30 Nov 2021
  • How to evaluate your current workplace
    3 projects | | 29 Nov 2021
    Automated quality assurance on the fundamental level. Tools such as eslint & prettier on the frontend; Flake8 & black in python help you ensure code-style consistency & protects from the simplest errors you could introduce to your codebase. Setting them up & applying all initial changes takes time, but the most difficult is to get all team members on board & get them to use those tools consistently - especially before merging the changes to the main branch.
  • My first Django project
    2 projects | | 15 Nov 2021
    Your code style is pretty inconsistent. Consistency makes code nicer to read, so I would recommend you look into linters (flake8, or pylint), and also code formatters (black). Never worry about forgetting to put a blank line at the end of the file, or leaving 5. (Also, it makes your git commits cleaner, because it automatically adds things like dangling commas, so if you add something to a list, it doesn't change the previous line).
  • Support Python 3.10 pattern matching syntax · Issue #2242 · psf/black
    1 project | | 13 Nov 2021
  • Music Synthesis with python
    6 projects | | 10 Nov 2021
    GitHub Repo
  • Python Code Quality - Improve the quality of your Python code with linters, code formatters, and security vulnerability scanners
    7 projects | | 7 Nov 2021
    yaml repos: - repo: rev: v1.4 hooks: - id: autoflake args: - --in-place - --remove-all-unused-imports - --expand-star-imports - --remove-duplicate-keys - --remove-unused-variables - repo: rev: v2.29.0 hooks: - id: pyupgrade args: [--py36-plus] - repo: rev: 5.9.3 hooks: - id: isort - repo: rev: 21.10b0 hooks: - id: black args: [--safe, --quiet] - repo: rev: 4.0.1 hooks: - id: flake8 - repo: local hooks: - id: pylint name: pylint entry: pylint language: system types: [python] args: [ "-rn", "-sn", ] - repo: rev: v0.910-1 hooks: - id: mypy name: mypy entry: mypy language: python types: [python] args: [] require_serial: true - repo: rev: v2.4.1 hooks: - id: prettier args: [--prose-wrap=always, --print-width=88]
  • Help with int
    1 project | | 6 Nov 2021
  • 2 Static Analysis Tools to Enhance Your Productivity
    5 projects | | 5 Nov 2021
    repos: - repo: rev: 21.10b0 hooks: - id: black - repo: rev: 4.0.1 hooks: - id: flake8
  • DPS909 - Lab 7
    2 projects | | 5 Nov 2021
    For feature 1, we had to implement a formatter for our project. Since my static site generator is developed in Python, I opted to use the black formatter. It has the best features, and is one of the most popular formatters for Python. You can see the changes that the formatter did, as well as my simple bash script that the user can run to format the files at the same time. Commit

What are some alternatives?

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

yapf - A formatter for Python files

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!

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

isort - A Python utility / library to sort imports.

prettier - Prettier is an opinionated code formatter.

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

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

autoflake - Removes unused imports and unused variables as reported by pyflakes

mypy - Optional static typing for Python

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