Skip to main content

Cloup

Master branch

Travis-CI Build Status Coverage Status Documentation Status (master branch)

Package

Latest release on PyPI Supported versions Documentation Status (latest release)

Cloup (= Click + groups) adds to Click the following features:

  • option groups for Command;

  • the possibility to organize the subcommands of a Group in multiple subcommand 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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cloup 0.4.0
File Size Uploaded
cloup-0.4.0.tar.gz 19.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cloup 0.4.0
File Interpreter ABI Platform
cloup-0.4.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 28.4 kB

Release files / cloup-0.4.0.tar.gz

Download URL cloup-0.4.0.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d826623b0c17439f6a8fcd9e02f9b1836f400ddde4476c9c155e55b4a7770892
BLAKE2b-256 checksum
How to use checksums
4c9c940fa751c1850dab53b73817cd7a52d8a000bb4e135468e1dcbb108401b8
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.1.2 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.8.7

Release files / cloup-0.4.0-py2.py3-none-any.whl

Download URL cloup-0.4.0-py2.py3-none-any.whl
Size 8.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1d914f8b5ec5e119a0acf11be7d1e0a9a3fba40071af2d745e6b08fd3b681718
BLAKE2b-256 checksum
How to use checksums
c823b10aaa79a8addf8196773943d5ea16187c74b320134c15316014bf0cf227
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.1.2 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.8.7

Release history Release notifications | RSS feed

4.0.0

2 release files

3.1.0

2 release files

3.0.9

2 release files

3.0.8

2 release files

3.0.7

2 release files

3.0.6

2 release files

3.0.5

2 release files

3.0.4

2 release files

3.0.3

2 release files

3.0.2

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.15.1

2 release files

0.15.0

2 release files

0.13.0

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.10.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page