Black Alternatives

Similar projects and alternatives to black

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

Suggest an alternative to black

Reviews and mentions

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-10-15.
  • Ask HN: Did somebody have success with the migration of Python 2.7 to Java/C#?
    news.ycombinator.com | 2021-10-15
  • Study found that developers (still) have a distinct lack of knowledge in understanding the fundamental concepts of cryptography - call for dedicated studies to investigate the usability of crypto APIs
    reddit.com/r/crypto | 2021-10-10
    OpenSSL would be an example of an unopinionated crypotgraphy library. It supports everything, including tons of stuff that's dangerous to use. For an example of an opinionated project outside of crypto, you could look at https://github.com/psf/black.
  • Code Quality Tools in Python
    dev.to | 2021-10-09
    as per the black's documentation, Black is "The uncompromising Python code formatter". It is my personal favourite because it has minimal configuration and is fast enough. Black is used by some very popular open-source projects, such as pytest, tox, Pyramid, Django Channels, Poetry, and so on. Example usage:
  • Three cool projects to contribute to during Hacktoberfest
    dev.to | 2021-10-07
  • Python Coding Style Compliance on Stack Overflow
    news.ycombinator.com | 2021-10-02
    > anything else we could try.

    I'm guessing most of developers use a formatter like black [0] nowadays so that will have less and less impact.

    [0]: https://github.com/psf/black

  • Black violates pep8 recommendation with long argument list (2019)
    news.ycombinator.com | 2021-10-02
  • Which is more Pythonic for long lines?
    Check out black. It's a highly opinionated code formatter that makes those decisions for you so you don't need to worry about it.
  • I made an API Wrapper for Exaroton
    Code is (obviously) written in Python, I've used black as a formatter and google-format docstrings.
  • https://np.reddit.com/r/Slovakia/comments/pmoxmf/počet_úmrtí_vs_vek/hcmc1o3/
  • Počet úmrtí vs vek
    reddit.com/r/Slovakia | 2021-09-12
  • We're the core team behind the popular Python autoformatter: Black. AMA!
    reddit.com/r/Python | 2021-09-10
    Black currently uses a forked version of the implementation of lib2to3 from CPython, because the core value add is not parsing but rather code generation. Most of the changes we added to this library are bugfixes and support for new grammar features. In terms of optimization we're planning to run mypyc on it, but we haven't delved into hand-optimizing the code in there.
    reddit.com/r/Python | 2021-09-10
    Haha I've been summoned for the other project I'm managing. I'm improving the contributing experience not only so the project is more friendly for newer contributors, but also to make project maintenance less tedious even if you haven't touched the project in literal months or years. I'm always open to feedback and suggestions, lemme know on Python Discord or on this issue!
    reddit.com/r/Python | 2021-09-10
    I ask because black has a history of being a "problem package" and breaking install workflows with unfortunate regularity. This issue was one recent example and versions of it/related issues caused by it (such as issue 1847) stayed open for extended periods. I also remember earlier instances around black's forced early adoption of pyproject.toml, when the tooling support for it wasn't yet good enough to be reliable and triggered unexpected/unwanted behaviors in pip.
    reddit.com/r/Python | 2021-09-10
    I created this issue at the time: https://github.com/psf/black/issues/1816
    reddit.com/r/Python | 2021-09-10
    I haven't used it but we provide binaries created through PyInstaller. I noticed that's not documented though so I opened https://github.com/psf/black/issues/2492 about it.

Stats

Basic black repo stats
95
22,834
9.3
5 days ago

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

Find remote Python jobs at our new job board 99remotejobs.com. There are 10 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.