black has 151M monthly downloads and 42K GitHub stars. Version 26.5.1 supports Python 3.10+, first published in 2018.
It is actively maintained under a permissive license, last released in May 2026.
It is built on top of click, mypy-extensions and packaging. It is used by 1,642 tracked packages, including datamodel-code-generator, ansible-lint and ufmt.
GitHub topics include code, formatter and codeformatter.
Package Insights
((week_daily_avg - month_daily_avg) / month_daily_avg) * 100Weekly Downloads
GitHub Stars
Downloads by OS
Python Versions
Top Countries
Dependencies
- click >=8.0.0
- mypy-extensions >=0.4.3
- packaging >=22.0
- pathspec >=1.0.0
- platformdirs >=2
- pytokens ~=0.4.0
- tomli >=1.1.0
- typing-extensions >=4.0.1
Used By
- datamodel-code-generator
- ansible-lint
- ufmt
- open-webui
- python-lsp-server
- flake8-black
- pytest-examples
- pyink
- haystack-pydoc-tools
- docspec-python
- piccolo
- agent-lifecycle-toolkit
- letta
- pybamm
- pytest-black
- jupyter-black
- blacken-docs
- arxiv-mcp-server
- nsj-rest-lib2
- ipyflow-core
- mdformat-black
- causalml
- quartodoc
- ell-ai
- aitviewer
- docstrfmt
- snappi-ixnetwork
- python-lsp-black
- c2cciutils
- gandlf
- shed
- lyft-dataset-sdk
- pyaud-plugins
- openapi-python-generator
- bmipy
- blackdoc
- django-resaas
- zrb
- sklearn-evaluation
- vizro
- gt4py
- atopile
- fwquant
- autohooks-plugin-black
- snakefmt
- aurapro-ui
- schnetpack
- nanodjango
- poethepoet-tasks
- python-dev-tools