Black
Automatic Python code formatter
psfThird-party software from public repositories. bestappfor.me does not host it, does not verify it and is not responsible for its use. Download only from the official source and check the license. Terms and disclaimer
About
Black is a Python code formatter that rewrites whole files in place in one consistent style. You give up hand-formatting details and get speed, predictable results and smaller diffs, which makes code review quicker.
Few style options exist on purpose, so code looks the same across projects. After reformatting it checks that the code still means the same thing, unless you pass --fast. Install it with pip on Python 3.10 or newer, add the jupyter extra for notebooks, or download a standalone executable.
Highlights
- Reformats whole Python files in place
- Checks the result still means the same thing
- Handles Jupyter notebooks with an extra
Who it's for
Good for Python developers and teams who want consistent formatting without debating style
This description was written by our editors with automated assistance, not by the developer, and has not been reviewed yet.
Why it is here
- Code changed 3 days ago
- New release 4 days ago
Official channels
Official channels only. We never host or repackage downloads.





