skip to navigation
skip to content

argpext 1.0

Argpext: hierarchical extension of argparse.

Package Documentation

Latest Version: 1.3.2

Argpext is a module dedicated to improving the command line interface with Python functions.

Argpext provides the hierarchical extension to the “Sub-commands” functionality of the standard argparse module. It allows one to group any Python functions into a hierarchical tree-like structure, e.g. according to their logic. Every such function then corresponds to a certain sequence of sub-commands, and can be executed directly from the command line by simply passing the sequence as command line arguments to the top level script. The rest of the command line arguments to the script are used to set up the values of function arguments, at which level the standard argparse interface applies.

In addition, Argpext provides an implementation for the Categorical variable type, - a type for variables that take predetermined set of values.

File Type Py Version Uploaded on Size
argpext-1.0.linux-i686.exe (md5) MS Windows installer any 2012-10-15 65KB
argpext-1.0.tar.gz (md5) Source 2012-10-15 4KB