Name : python2-argh
| |
Version : 0.26.1
| Vendor : obs://build_opensuse_org/devel:languages:python
|
Release : 24.1
| Date : 2017-04-24 14:00:00
|
Group : Development/Languages/Python
| Source RPM : python-argh-0.26.1-24.1.src.rpm
|
Size : 0.13 MB
| |
Packager : (none)
| |
Summary : A simple argparse wrapper
|
Description :
Agrh, argparse!
Did you ever say \"argh\" trying to remember the details of optparse or argparse API? If yes, this package may be useful for you. It provides a very simple wrapper for argparse with support for hierarchical commands that can be bound to modules or classes. Argparse can do it; argh makes it easy.
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; * nesed commands made easy: no messing with subparsers (though they are of course used under the hood); * infer agrument type from the default value; * infer command name from function name; * add an alias root command help for the --help argument; * enable passing unwrapped arguments to certain functions instead of a argparse.Namespace object.
Argh is fully compatible with argparse. You can mix argh-agnostic and argh-aware code. Just keep in mind that argh.dispatch does some extra work that a custom dispatcher may not do.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/python/SLE_15/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
python-argh
python2-argh
Requires :