Installation
Install cane-format from PyPI.
cane-format needs Python 3.10 or newer and has no dependencies.
pip install cane-formatWith uv:
uv add cane-formatImport it under its short name:
import cane_format as caneThe command line tool cane-format is installed with the package:
cane-format --help
NoteVersions
cane-format follows Semantic Versioning. While the version starts with 0., the API may still change between minor releases; every change is listed in the changelog.