Installation Its dependencies are: black more-itertools importlib-metadata (on python < 3.8) To install it, use python -m pip install blackdoc