InstallationΒΆ
Try it firstΒΆ
You can try Click Extra right now in your terminal, without installing any dependency or virtual env thanks to uvx:
$ uvx -- click-extra
$ uvx -- click-extra@7.0.0
$ uvx --from git+https://github.com/kdeldycke/click-extra -- click-extra
This is a great way to play with Click Extra and check that it runs fine on your system, and renders properly in your terminal.
With pipΒΆ
This package is available on PyPi, so you can install the latest stable release and its dependencies with a simple pip call:
$ pip install click-extra
See also pip installation instructions.
Default dependenciesΒΆ
This is a graph of the default, main dependencies of the Python package:
flowchart TD
classDef missing stroke-dasharray: 5
boltons["boltons\n25.0.0"]
bracex["bracex\n2.6"]
certifi["certifi\n2025.10.5"]
charset-normalizer["charset-normalizer\n3.4.4"]
click-extra["click-extra\n6.2.0"]
click_0["click\n8.3.0"]
cloup["cloup\n3.0.8"]
deepmerge["deepmerge\n2.0"]
distro["distro\n1.9.0"]
extra-platforms["extra-platforms\n5.0.0"]
idna["idna\n3.11"]
requests["requests\n2.32.5"]
tabulate["tabulate\n0.9.0"]
urllib3["urllib3\n2.5.0"]
wcmatch["wcmatch\n10.1"]
click-extra -- ">=0.9" --> tabulate
click-extra -- ">=10.0" --> wcmatch
click-extra -- ">=2.0" --> deepmerge
click-extra -- ">=2.32.5" --> requests
click-extra -- ">=25.0.0" --> boltons
click-extra -- ">=3.0.7" --> cloup
click-extra -- ">=5.0.0" --> extra-platforms
click-extra -- ">=8.3.0" --> click_0
cloup -- ">=8.0,<9.0" --> click_0
extra-platforms -- ">=1.9.0" --> distro
requests -- ">=1.21.1,<3" --> urllib3
requests -- ">=2,<4" --> charset-normalizer
requests -- ">=2.5,<4" --> idna
requests -- ">=2017.4.17" --> certifi
wcmatch -- ">=2.1.1" --> bracex
Extra dependenciesΒΆ
For additional features, you may need to install extra dependencies.
Configuration file formatsΒΆ
YAML configuration files support:
$ pip install click-extra[yaml]
XML configuration files support:
$ pip install click-extra[xml]
JSON5 configuration files support:
$ pip install click-extra[json5]
JSONC configuration files support:
$ pip install click-extra[jsonc]
HJSON configuration files support:
$ pip install click-extra[hjson]
For PygmentsΒΆ
Register new ANSI-capable formatter, filter and lexers:
$ pip install click-extra[pygments]
For SphinxΒΆ
Register new click:example and click:run directives:
$ pip install click-extra[sphinx]
For PytestΒΆ
Activate new fixtures and utilities for testing Click CLIs:
$ pip install click-extra[pytest]