python-argh_0.26.2-1_all.deb


Advertisement

Description

python-argh - simple argparse wrapper (Python 2)

Property Value
Distribution Ubuntu 17.10 (Artful Aardvark)
Repository Ubuntu Universe i386
Package name python-argh
Package version 0.26.2
Package release 1
Package architecture all
Package type deb
Installed size 94 B
Download size 24.26 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 argument 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.2-1_all.deb 0.26.2 all Ubuntu Universe
python-argh - - -

Requires

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

Download

Type URL
Binary Package python-argh_0.26.2-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.2.egg-info/PKG-INFO
/usr/lib/python2.7/dist-packages/argh-0.26.2.egg-info/dependency_links.txt
/usr/lib/python2.7/dist-packages/argh-0.26.2.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

2016-12-16 - Marco Nenciarini <mnencia@debian.org>
python-argh (0.26.2-1) unstable; urgency=medium
* New upstream version 0.26.2
* Drop 0001-fix-unit-tests.patch
* Avoid depending on iocapture module for testing
* Fix a typo in long description (found by lintian)
* Bump standards-version to 3.9.8.0 (no changes)
* Switch to debhelper compatibility version 9
* Use an encrypted transport protocol for the Vcs-* URIs
* Acknowledge the NMUs from Sean Whitton. Thanks for your contribution.
2016-08-12 - Sean Whitton <spwhitton@spwhitton.name>
python-argh (0.26.1-1.2) unstable; urgency=medium
* Non-maintainer upload.
* Drop parts of 0001-fix-unit-tests.patch touching test_interaction.py.
* Fix the Unicode encoding test by setting LC_ALL in d/rules.
This fix is more general as the LANG var can be overridden by LC_*
vars (see locale(7)).  Thanks to Jakub Wilk for pointing this out and
suggesting the improved fix.
2016-08-11 - Sean Whitton <spwhitton@spwhitton.name>
python-argh (0.26.1-1.1) unstable; urgency=medium
* Non-maintainer upload.
* Update 0001-fix-unit-tests.patch for newer sbuild (Closes: #832851).
The LANG environment variable might not be set.
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

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-1.2ubuntu1_i386.deb C++ library for MobileRobots/ActivMedia robots (Python bindings)
python-arpy_1.1.1-3_all.deb library for accessing "ar" archives
python-arrayfire-doc_3.3.20160624-2_all.deb documentation for the ArrayFire Python bindings
python-arrayfire_3.3.20160624-2_all.deb ArrayFire bindings for Python 2
python-arrow-doc_0.10.0-1_all.deb Python library to manipulate dates, times, timestamps: documentation
python-arrow_0.10.0-1_all.deb Python library to manipulate dates, times, and timestamps
python-artifacts_20170808-1_all.deb knowledge base of forensic artifacts (Python 2)
python-asdf-doc_1.2.1-2_all.deb Python library for the Advanced Scientific Data Format (documentation)
python-asdf_1.2.1-2_all.deb Python library for the Advanced Scientific Data Format
python-ase-doc_3.14.1-2_all.deb Atomic Simulation Environment (common documentation)
python-ase_3.14.1-2_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.9.2-1build1_i386.deb General Python tools for astronomy
Advertisement
Advertisement