How to Install and Uninstall python-argh Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 07,2024

1. Install "python-argh" package

This guide covers the steps necessary to install python-argh on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-argh

2. Uninstall "python-argh" package

Please follow the guidance below to uninstall python-argh on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-argh $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-argh package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-argh
Priority: extra
Section: universe/python
Installed-Size: 114
Maintainer: Ubuntu Developers
Original-Maintainer: Marco Nenciarini
Architecture: all
Version: 0.26.1-1
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Recommends: python-argcomplete
Filename: pool/universe/p/python-argh/python-argh_0.26.1-1_all.deb
Size: 24176
MD5sum: 58efa7309d5f505ec8856b7c5dc2fe4b
SHA1: b82a48ab06c931d5c26a9026b16e432ca433be1d
SHA256: 2fb92b20f9abba6c29a96337c848a08b2c9d895323f34200618ddbb402f07d0a
Description-en: simple argparse wrapper (Python 2)
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.
Description-md5: 5cfa570ecacfe0ce9d3352469323d591
Homepage: http://pypi.python.org/pypi/argh
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu