python-argh_0.26.1-1_all.deb


Advertisement

Description

python-argh - simple argparse wrapper (Python 2)

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe amd64
Package name: python-argh
Package version: 0.26.1
Package release: 1
Package architecture: all
Package type: deb
Installed size: 114 B
Download size: 23.61 KB
Official Mirror: archive.ubuntu.com
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 agrument 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 2.

Alternatives

    Download

    Source package: python-argh

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install python-argh deb package:
      # sudo apt-get install python-argh

    Files

    • /usr/lib/python2.7/dist-packages/argh/__init__.py
    • /usr/lib/python2.7/dist-packages/argh/assembling.py
    • /usr/lib/python2.7/dist-packages/argh/compat.py
    • /usr/lib/python2.7/dist-packages/argh/completion.py
    • /usr/lib/python2.7/dist-packages/argh/constants.py
    • /usr/lib/python2.7/dist-packages/argh/decorators.py
    • /usr/lib/python2.7/dist-packages/argh/dispatching.py
    • /usr/lib/python2.7/dist-packages/argh/exceptions.py
    • /usr/lib/python2.7/dist-packages/argh/helpers.py
    • /usr/lib/python2.7/dist-packages/argh/interaction.py
    • /usr/lib/python2.7/dist-packages/argh/io.py
    • /usr/lib/python2.7/dist-packages/argh/utils.py
    • /usr/lib/python2.7/dist-packages/argh-0.26.1.egg-info/PKG-INFO
    • /usr/lib/python2.7/dist-packages/argh-0.26.1.egg-info/dependency_links.txt
    • /usr/lib/python2.7/dist-packages/argh-0.26.1.egg-info/top_level.txt
    • /usr/share/doc/python-argh/README.rst.gz
    • /usr/share/doc/python-argh/changelog.Debian.gz
    • /usr/share/doc/python-argh/copyright

    Changelog

    2015-02-17 - Marco Nenciarini <mnencia@debian.org> python-argh (0.26.1-1) unstable; urgency=medium [ Marco Nenciarini ] * Imported Upstream version 0.26.1 * Fix some unit tests to not fail in a clean build environment * Update debian/watch * Bump standards-version to 3.9.6.0 (no changes) [ Brian May ] * Python3 package (Closes: 778446)

    2014-10-09 - Marco Nenciarini <mnencia@debian.org> python-argh (0.25.0-1) unstable; urgency=medium * Imported Upstream version 0.25.0

    2014-01-29 - Marco Nenciarini <mnencia@debian.org> python-argh (0.24.1-1) unstable; urgency=medium * Imported Upstream version 0.24.1 * Bump standards-version to 3.9.5.0 (no changes)

    2013-06-18 - Marco Nenciarini <mnencia@debian.org> python-argh (0.23.2-1) unstable; urgency=low * Imported Upstream version 0.23.2 * Canonicalize VCS-* field URI in debian/control

    2013-02-08 - Marco Nenciarini <mnencia@debian.org> python-argh (0.23.0-1) unstable; urgency=low * Imported Upstream version 0.23.0

    2013-01-11 - Marco Nenciarini <mnencia@debian.org> python-argh (0.21.2-1) unstable; urgency=low * Imported Upstream version 0.21.2 * Add python-argcomplete as recommended

    2013-01-04 - Marco Nenciarini <mnencia@debian.org> python-argh (0.21.1-1) unstable; urgency=low * debian/control: Add X-Python-Version: >= 2.6 to fix build on squeeze * Add support for build on Ubuntu Lucid (10.4) * Imported Upstream version 0.21.1 * Remove argh/six.py license from debian/copyright as the file was removed upstream

    2012-11-27 - Marco Nenciarini <mnencia@debian.org> python-argh (0.17.2-1) unstable; urgency=low * Imported Upstream version 0.17.2

    2012-10-22 - Marco Nenciarini <mnencia@debian.org> python-argh (0.16.0-1) unstable; urgency=low * Imported Upstream version 0.16.0

    2012-09-30 - Marco Nenciarini <mnencia@debian.org> python-argh (0.15.1-2) unstable; urgency=low * Add argh/six.py license to debian/copyright file

    Advertisement
    Advertisement