psf/black
The uncompromising Python code formatter observed · 2026-08-28
Health v2 · maintenance only
89/100
- Activity 98
- Release rhythm 72
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 47
- age_days: 3094
- days_rel: 107
- days_push: 13
- n_releases_24m: 10
Adoption not part of the score
41816 stars · 2851 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Black is an opinionated, deterministic Python code formatter that reformats code to a single consistent style. It runs as a CLI, integrates with editors, pre-commit hooks, and CI, and can also format Jupyter notebooks.
Use cases
- format python code automatically
- enforce consistent code style across a team
- stop arguing about formatting in code reviews
- add a formatter to pre-commit hooks
- format jupyter notebooks
- reduce diff noise in pull requests
When to choose
- you want zero-configuration, deterministic formatting for Python
- you want a de facto standard style recognized across projects
- you need editor, CI, and pre-commit integrations
When to avoid
- you need highly customizable formatting styles
- you are formatting non-Python code
Facets
cli-tool · maturity stable
formatter developer-tools cli developer-tools programming-languages testing python cli cross-platform code-style auto-formatting pre-commit-hook pep8 jupyter-notebooks python
2 sources
- readme: https://github.com/psf/black · fetched 2026-08-28 · 2b3b8b08762d
- homepage: https://black.readthedocs.io/en/stable/ · fetched 2026-08-29 · 457c416b144c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| psf/black | main | 89 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem