black
brew install black
v26.5.1_1
MIT
Opinionated Python code formatter with zero configuration, written in Rust.
Why you might care
Black enforces a consistent code style across Python projects with minimal setup—just run it and let it reformat. It's fast, deterministic, and widely adopted in the Python ecosystem as a drop-in replacement for manually configured formatters like autopep8 or yapf. Zero config means no style debates; the tool decides.
2.7k
30-day installs · #840
8.1k
90-day · #897
33.6k
365-day · #836
Runtime dependencies
Build dependencies
Links
- https://black.readthedocs.io/en/stable/
- Brew formula source: Formula/b/black.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"autopep8",
"yapf",
"ruff",
"isort"
],
"build_dependencies": [
"rust"
],
"categories": [
"formatter",
"python"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"python@3.14"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Python code formatter",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:35:54+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "black",
"github_default_branch": null,
"github_last_commit_at": null,
"github_readme_excerpt": null,
"github_repo": null,
"github_stars": null,
"github_topics": [],
"homepage": "https://black.readthedocs.io/en/stable/",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": "Black 26.5.1 documentation",
"installs_30d": 2678,
"installs_365d": 33592,
"installs_90d": 8101,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": "2026-06-20T23:47:26+00:00",
"llm_model": "claude-haiku-4-5",
"name": "black",
"oldnames": [],
"one_liner": "Opinionated Python code formatter with zero configuration, written in Rust.",
"optional_dependencies": [],
"rank_30d": 840,
"rank_365d": 836,
"rank_90d": 897,
"raw_hash": "4e300b6a0bf59ea2",
"recommended_dependencies": [],
"revision": 1,
"ruby_source_path": "Formula/b/black.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "26.5.1",
"versioned_formulae": [],
"why_use_this": "Black enforces a consistent code style across Python projects with minimal setup\u2014just run it and let it reformat. It\u0027s fast, deterministic, and widely adopted in the Python ecosystem as a drop-in replacement for manually configured formatters like autopep8 or yapf. Zero config means no style debates; the tool decides."
}