Black
6.6#3 in code formattersFree planFree planLinuxmacOSSelf-hostedWindows
Visit| Fact | Black | OCamlFormat |
|---|---|---|
| Installation | Black installs with pip or pipx and requires Python 3.10 or later to run. | Installation is through opam, and the README says OCaml and opam are required. |
| License | Black is licensed under the MIT license. | OCamlFormat is distributed under the MIT License. |
| Purpose | Black is an opinionated formatter for Python code that follows PEP 8. | OCamlFormat is a code formatter for OCaml. |
Black suits Python developers who want consistent formatting with few style decisions. It can also suit teams using documented editor integrations or GitHub Actions.
You want what its maker publishes above — check its page for the details.