python-argh_0.26.1-1_all.deb


Advertisement

Description

python-argh - simple argparse wrapper (Python 2)

Property Value
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

Package Version Architecture Repository
python-argh_0.26.1-1_all.deb 0.26.1 all Ubuntu Universe
python-argh - - -

Requires

Name Value
python:any >= 2.7.5-5~
python:any << 2.8

Download

Type URL
Binary Package python-argh_0.26.1-1_all.deb
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

Path
/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

See Also

Package Description
python-args_0.1.0-2_all.deb Command Arguments for Humans (Python 2)
python-argvalidate_0.9.0-2_all.deb simple argument validator library
python-ariapy_2.8.0+repack-1ubuntu2_amd64.deb C++ library for MobileRobots/ActivMedia robots (Python bindings)
python-arpy_1.1.1-2_all.deb library for accessing "ar" archives
python-arrow-doc_0.7.0-1_all.deb Python library to manipulate dates, times, timestamps: documentation
python-arrow_0.7.0-1_all.deb Python library to manipulate dates, times, and timestamps
python-ase-doc_3.9.1.4567-3_all.deb Atomic Simulation Environment (common documentation)
python-ase_3.9.1.4567-3_all.deb Atomic Simulation Environment (Python 2)
python-asterisk_0.5.3-1.1_all.deb Asterisk Manager API interface module for Python
python-astlib_0.8.0-3build1_amd64.deb General Python tools for astronomy
python-astor_0.5-1_all.deb Python AST manipulator
python-astroid_1.4.4-1_all.deb rebuild a new abstract syntax tree from Python's AST
python-astrometry_0.67+dfsg-1_amd64.deb Astrometry plate solver (Python package)
python-astroml-addons_0.2.2-1_amd64.deb Python Machine Learning library for astronomy (performance addons)
python-astroml_0.3-3_all.deb Python Machine Learning library for astronomy
Advertisement
Advertisement