Cloup
Master branch |
|
Package |
Cloup (= Click + groups) adds to Click the following features:
option groups for Command;
the possibility to organize the subcommands of a Group in multiple help sections.
Cloup implements these features by providing subclasses of Command and Group, and by defining a new decorator @option_group(name, *options, ...) decorator.
Currently, cloup only affects how the command help is formatted, it doesn’t allow to specify constraints on option groups. Group constraints are coming though.
Documentation
Read more at https://cloup.readthedocs.io/.
Change Log
v0.4.0 (2020-01-10)
This is the last release officially supporting Python 3.5.
Package-wise:
changed the internal (non-public) structure of the package
no new features or public API changes
minor code improvements and fixes.
Repository-wise:
new documentation (hosted by ReadTheDocs)
tox, TravisCI, Makefile completely rewritten.
v0.3.0 (2020-03-26)
Backward incompatible API changes
option_groups decorator now takes options as positional arguments *options;
Group.section decorator now takes sections as positional arguments *sections;
align_sections_help was renamed to align_sections;
GroupSection.__init__() sorted_ argument was renamed to sorted.
Other changes
Additional signature for option_group: you can pass the help argument as 2nd positional argument.
Aligned option groups (option align_option_groups with default True).
More refactoring and testing.
v0.2.0 (2020-03-11)
[Feature] Add possibility of organizing subcommands of a cloup.Group in multiple help sections.
Various code improvements.
- Backward incompatible change:
rename CloupCommand and CloupGroup resp. to just Command and Group.
v0.1.0 (2020-02-25)
First release on PyPI.
Metadata
Release files for cloup 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cloup-0.4.2.tar.gz | 31.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cloup-0.4.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 39.9 kB
Release files / cloup-0.4.2.tar.gz
| Download URL | cloup-0.4.2.tar.gz |
|---|---|
| Size | 31.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8fc4fa4b337e611f4c6f3dd2a1d97a5815f016e60e7995b29159289f574fdff9
|
|
BLAKE2b-256 checksum How to use checksums |
37db423e4c2e2fd71cc3097659194209b2d4bd7d13f7bc55c5f94e12e0107018
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.2
|
Release files / cloup-0.4.2-py2.py3-none-any.whl
| Download URL | cloup-0.4.2-py2.py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6af7c6b97fad61c4b9f6add44d50e102bc50f0f34867c78bc1a5f46db1146fd6
|
|
BLAKE2b-256 checksum How to use checksums |
39d539ba0fda66ade0330be078e5675542eacb4693ecb75cc436174bd4bdecae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.2
|