About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

linux default iconargh Publisher's description

Argh provides a very simple wrapper for argparse.

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 (though they are of course used under the hood);
* infer command name from function name;
* infer agrument type from the default value;
* infer argument action from the default value (for booleans);
* 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.

System Requirements:

В· Python
Program Release Status: Minor Update
Program Install Support: Install and Uninstall

argh Tags:

Click on a tag to find related softwares

Is argh your software?

Manage your software

Most Popular

linux default icon GDB 7.4
GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it... Read more
linux default icon Coral 0.9.1
Coral is a tool and a development platform to create and transform models and modeling languages.
linux default icon Forum Paid Plus Script 6.1
Forum Paid Pay Per Post Exchange is targeted at forum owners who wish to...
linux default icon sdo 0.6.5
Converts oracle SDO_GEOMETRY objects to WKT and GeoJSON.
linux default icon Get Paid Plus Script 6.1
Get Paid Plus Script

Related Category

» Other (877)
» Tools & Editors (359)
» Web Development (146)