📈 GH Trending Explorer
Sponsored by Sorted Solution
⚠ Updated 2026-11-29 10:03 UTC 🎲 Surprise me

← all repos

psf / black

git clone https://github.com/psf/black.git 26.10.1 · 1mo ago

Opinionated Python code formatter that rewrites files in place to a single, deterministic PEP 8-compliant style.

Why you might care

Black removes formatting debate by producing one consistent style, so code looks the same across projects and diffs stay small. Limited configuration options and a stable style make it a low-maintenance choice for Python teams; it requires Python 3.11+ and is installable via pip or standalone executables.

Categories

Alternatives

autopep8yapfRuffisort
+3
stars, 24h · #9,960
+21
stars, 7 days · #12,940
+154
stars, 30 days · #9,107
42k
★ total · +0% this week
3.2k
forks · 254 open issues

Star history (as recorded here)

2026-10-20 · 41,956 ★ 2026-12-06 · 42,262 ★
LanguagePython
LicenseMIT
Created2018-03-14 (8y ago)
Last pushtoday
Watchers222
OwnerOrganization

Seen on GitHub Trending

  • 2026-11-07 — #17 daily in python · +13 ★

GitHub topics

Links

README

Loading README…

Blurb generated by claude-haiku-5-5 29d ago. Star deltas marked ~ are extrapolated from partial history.