Stats

Basic black repo stats
50
21,337
8.8
7 days ago

psf/black is an open source project licensed under MIT License which is an OSI approved license.

Black Alternatives

Similar projects and alternatives to black

  • GitHub repo Poetry

    Python dependency management and packaging made easy.

  • GitHub repo pre-commit

    A framework for managing and maintaining multi-language pre-commit hooks.

  • GitHub repo fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

  • GitHub repo toml

    Tom's Obvious, Minimal Language

  • GitHub repo mypy

    Optional static typing for Python 3 and 2 (PEP 484)

  • GitHub repo autopep8

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

  • GitHub repo prettier

    Prettier is an opinionated code formatter.

  • GitHub repo Git

    Git Source Code Mirror - This is a publish-only repository and all pull requests are ignored. Please follow Documentation/SubmittingPatches procedure for any of your improvements.

  • GitHub repo fzf

    :cherry_blossom: A command-line fuzzy finder

  • GitHub repo traefik

    The Cloud Native Application Proxy

  • GitHub repo Airflow

    Apache Airflow - A platform to programmatically author, schedule, and monitor workflows

  • GitHub repo django-rest-framework

    Web APIs for Django. 🎸

  • GitHub repo Portainer

    Making Docker and Kubernetes management easy.

  • GitHub repo Travis CI.com

    Free continuous integration platform for GitHub projects.

  • GitHub repo rr

    Record and Replay Framework

  • GitHub repo textract

    extract text from any document. no muss. no fuss.

  • GitHub repo warehouse

    The Python Package Index

  • GitHub repo keyboard

    Hook and simulate global keyboard events on Windows and Linux.

  • GitHub repo dephell

    :package: :fire: Python project management. Manage packages: convert between formats, lock, install, resolve, isolate, test, build graph, show outdated, audit. Manage venvs, build package, bump version.

  • GitHub repo mouse

    Hook and simulate global mouse events in pure Python

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better black alternative or higher similarity.

Posts

Posts where black has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-06-13.
  • Data Wrangling - Multiline Python Statements? Trying to learn best syntax for Python coming from R
  • Coding beginner! First program! Password Generator
    reddit.com/r/Python | 2021-06-13
    Linting and formatting have some overlap and formatting is another debated concept. I am personally a fan of Black, but there are others such as autopep8 which will attempt to make your code fit the style described in PEP8.
  • How To Get Black Working in PyCharm in 2021
    dev.to | 2021-06-11
    Whilst making my yearly pilgrimage from vim to PyCharm (I usually go back to vim after a bit), I found it less than straightforward to apply the black formatter instead of using PyCharm's built-in "reformat code" settings.
  • Help simplifying code?
    First, check out code formatters like black to standardize the code and make it more readable.
  • So... should I use spaces around mathematical operators or not?
    In future, if you will have similar questions, just use https://github.com/psf/black to format your code. The only thing that that code fornatter allows you to change is the line length.
  • How to Protect Your Python Code Health 🐍🩺
    dev.to | 2021-06-06
    A formatter arranges our code so that it's more readable on the screen, but does not change what our code does. Black and isort are formatters.
  • Paithon 🐍
    In my experience, you can just throw black at it and formatting ceases to be an issue.
    We have Black auto formatter in our repo. Indentation has never been an issue.
  • Django Engineer Interview Script
    dev.to | 2021-05-22
    Ideally any of these are mentioned: PEP 8, flake8, black, Django style guide, isort.
  • Python CI/CD with GitHub Actions
    dev.to | 2021-05-09
    First, we have to checkout the repository in GitHub Actions using GitHub's own checkout action. Then, we have to set up the Python version using GitHub's setup-python action. Finally, we can use Black's provided GitHub Action for checking formatting - it runs black --check --diff on the workflow runner's clone of the repo and outputs an error code if any Python file in the repo fails Black's formatting rules. Note that Black fails if the AST cannot be parsed (i.e. if there are any syntax errors), so it can also be used for checking syntax correctness, which itself is a good proxy for checking for merge conflict strings.
  • Instagram bot (beta)
    reddit.com/r/greece | 2021-05-07
  • Experimentations on Bazel: Python (2), linter
    dev.to | 2021-05-02
    psf/black: The uncompromising Python code formatter will be used. Add it to thrid_party/requirements.txt
  • What is the Pythonic way to handle multi-line statements.
    Use the Black auto-formatter and don’t worry about what the “right” way to do it ever again.
  • Would anyone be willing to tear my project apart?
    Check out black to clean up your python code formatting.