Black
Uncompromising Python code formatter enforcing consistent style automatically.
3. Used by agents' projects
Dependency in 78 public GitHub projects set up for AI coding agents that we scanned (1.2%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What Black does
Uncompromising Python code formatter enforcing consistent style automatically.
Black popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How Black is used
- Black is a dependency in 78 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (4.8% of the 1,623 Python ones), #10 of 83 in linting and formatting.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 476; those are left out of every share on this page.
- The most used alternative in our scan is Ruff (54 projects).
- Projects that use it most often also use pytest (89.7%), python-dotenv (66.7%), Requests (56.4%).
- It is more common in projects set up for Roo Code (6.3%) than for Cursor (0.9%).
By coding agent
Often used with
More about Black
Agent Skills for it
- black-forest-labs: Black Forest Labs FLUX image generation: flux-2-pro and flux-2-flex text-to-image with async polling. Trigger phrases: black forest labs, BF
Head to head
- Black vs Ruff used together in 19 projects
Alternatives
Black This page
Extremely fast Python linter and code formatter written in Rust for modern projects.
Get started
Install it.
pip install blackNo step-by-step start for Black yet: we have not written its hand-checked card.