Skip to main content
Help us improve Python packaging – donate today!

Argpext: hierarchical extension of sub-commands in argparse.

Project Description

Argpext is a Python package that provides a collection of tools centred on research infrastructure development.

Argpext provides hierarchical (multilevel) subcommand implementation that allows one to quickly expose any required callable objects, such as functions, generators, or any other Python’s callable objects to the DOS/Linux command line.

Hierarchical sub-commands implementation: Class “Task” is used to define the interface between a specific callable object and the command line. Class “Node” may be used in order to populate all the required “tasks” onto a tree structure, whose design follows the intended execution patterns. Any such task may then individually be executed by passing a specific sequence of command line arguments to the top level script, followed by the command line arguments used to specify the arguments, if required by the task. When followed by the “–help” flag, such sequence simply outputs the help message that provides short description of the task and directions for populating task arguments. Passing the sequence of command complete with task arguments results in the actual execution of the task. Hierarchical subcommands feature internally relies on the standard Pythons standard module.

A detailed documentation is currently available only for version 1.1; see link above.

Documentation for Version 1.2.X will be released approximately by the mid June 2014.

Release v1.1 - multiple new features. Detailed documentation is provided.

Release v1.2.0 - multiple new features

Release v1.2.1 - bug fixes for v1.2.0

Release history Release notifications

History Node


History Node


History Node


History Node


This version
History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
argpext-1.2.1.tar.gz (9.2 kB) Copy SHA256 hash SHA256 Source None May 17, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page