python-argh 0.28.1-1 source package in Ubuntu
Changelog
python-argh (0.28.1-1) unstable; urgency=medium * Team upload. * New upstream version * Standards-Version: 4.6.2 (routine-update) * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update) * Add missing build-dependency on flit. * refresh patches * d/control: build-dep on pybuild-plugin-pyproject for PEP-517 compat. * d/control: use real homepage, not PyPI * d/watch: use https -- Michael R. Crusoe <email address hidden> Wed, 16 Aug 2023 13:03:33 +0200
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Mantic | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
python-argh_0.28.1-1.dsc | 2.0 KiB | facc7078558ba36ccbc6b874b23ea195c4b45fa8d55fa47b39d5a650e7947c41 |
python-argh_0.28.1.orig.tar.gz | 61.0 KiB | b2093086f0e809a3ecc24b64a2145309ee8f56d034936cd59e57c558a357329d |
python-argh_0.28.1-1.debian.tar.xz | 5.1 KiB | efded7e5da3e4488a29d9c13378f3ca681918154f1a580e591e999bc11c1e9c9 |
Available diffs
- diff from 0.26.2-2 to 0.28.1-1 (90.0 KiB)
No changes file available.
Binary packages built by this source
- python3-argh: simple argparse wrapper (Python 3)
Argh provides a very simple wrapper for argparse.
.
Argparse is a very powerful tool; argh just makes it easy to use.
.
Here’s a list of features that argh adds to argparse:
.
* mark a function as a CLI command and specify its arguments before
the parser is instantiated;
* nested commands made easy: no messing with subparsers;
* infer command name from function name;
* infer argument type from the default value;
* infer argument action from the default value (for booleans);
* infer arguments from function signature;
* add an alias root command help for the --help argument;
* enable passing unwrapped arguments to certain functions instead of
an argparse.Namespace object.
.
Argh is fully compatible with argparse. You can mix argh-agnostic and
argh-aware code. Just keep in mind that dispatch() does some extra
work that a custom dispatcher may not do.
.
This package installs the library for Python 3.