python-argh 0.31.2-1 source package in Ubuntu
Changelog
python-argh (0.31.2-1) unstable; urgency=medium * Team upload. * New upstream version 0.31.2 * remove extraneous python3-mock build-dep -- Alexandre Detiste <email address hidden> Wed, 21 Feb 2024 12:35:16 +0100
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 | |
---|---|---|---|---|
Oracular | release | universe | misc | |
Noble | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
python-argh_0.31.2-1.dsc | 2.0 KiB | 15ed0dd2e2123577f439a73646de6474c3dfc3ec99cd22d72d9280bffe77279d |
python-argh_0.31.2.orig.tar.gz | 55.9 KiB | db1c34885804f7d4646c385dc2fb19b45298561322f4c15eae1b133993f9e323 |
python-argh_0.31.2-1.debian.tar.xz | 3.6 KiB | 77010a9c17e990cb1545df66da48e8801623f404e8782336f00b76c255b8c7ed |
Available diffs
- diff from 0.28.1-1 to 0.31.2-1 (61.2 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.