Skip to main content

🌈 Drop-in replacement for Click to make user-friendly and colorful CLI

Project description

Click Extra

Last release Python versions Downloads Unittests status Coverage status Documentation status DOI

What is Click Extra?

It should be easy to write a good CLI in Python. Click makes it so. But there is still hundrends of tweaks to implement by yourself to have a user-friendly CLI.

Click Extra is a ready-to-use wrapper around Click to make your CLI look good and behave well. It is a drop-in replacement with good defaults that saves lots of boilerplate code and frustration by making all parts working together.

It also comes with workarounds and patches that have not reached upstream yet (or are unlikely to).

Example

It transforms this vanilla click CLI:

click CLI help screen

Into this:

click-extra CLI help screen

To undestrand how we ended up with the result above, go read the tutorial.

Features

Used in

Check these projects to get real-life examples of click-extra usage:

Feel free to send a PR to add your project in this list if you are relying on Click Extra in any way.

Development

Development guidelines are the same as parent project mpm, from which click-extra originated.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

click_extra-4.11.0.tar.gz (87.1 kB view details)

Uploaded Source

Built Distribution

click_extra-4.11.0-py3-none-any.whl (70.6 kB view details)

Uploaded Python 3

File details

Details for the file click_extra-4.11.0.tar.gz.

File metadata

  • Download URL: click_extra-4.11.0.tar.gz
  • Upload date:
  • Size: 87.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for click_extra-4.11.0.tar.gz
Algorithm Hash digest
SHA256 4b81ffef93926db22b0a0f223b061e5d70e812a7e30b7de0753faf706e0422e7
MD5 64db83bfffbe23ac83f4298087cb66c8
BLAKE2b-256 3041eb3eb3a4a0c0ebd70d2af7a60245e01d41b370392165a24ffb3e4925a6c3

See more details on using hashes here.

File details

Details for the file click_extra-4.11.0-py3-none-any.whl.

File metadata

File hashes

Hashes for click_extra-4.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea7d644f80ac1ef7273399f1f94c05391a9cf5d9461193ce3964655f2722e3d7
MD5 6ed95e0402cb30d11a9de7ba87bf5bc8
BLAKE2b-256 8d2a6f3e983709879f2a849316a54a46f27ead598a3297de3d46d67e51826ff3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page