How to Install and Uninstall python3-clap Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 19,2024

1. Install "python3-clap" package

Please follow the guidance below to install python3-clap on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-clap

2. Uninstall "python3-clap" package

Here is a brief guide to show you how to uninstall python3-clap on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python3-clap $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-clap package on Ubuntu 21.10 (Impish Indri)

Package: python3-clap
Architecture: all
Version: 0.14.0-2
Priority: optional
Section: universe/python
Source: clap
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian QA Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 105
Depends: python3:any (>= 3.7~)
Filename: pool/universe/c/clap/python3-clap_0.14.0-2_all.deb
Size: 26048
MD5sum: 939dacfaf5d981f0b2000c173f628308
SHA1: 75bbcdeacebe1791701fb4dd1bebfa0eb003738f
SHA256: 61736e62d25b10e7a2ff91ec8c8d0bc44f99dd6d9d07b660afc43819cb337b8d
SHA512: 1eb8dcecff9ea30b80a2a30559d21ec53d4b7672972427c82d7c8050ec53ffe06a99e51ef8b388f63fdc2aca8e8c258ca45be8ef953e476297235d62916f43d1
Homepage: https://github.com/marekjm/clap
Description-en: command line arguments parser
CLAP aims at being powerful and advanced command line interface library for
Python 3 language. Having built-in support for modes, optional and obligatory
options, options with arguments (with type-checking with arbitrary types) it
enables programmers to create rich command line interfaces for Python 3
programs.
.
Features:
* Support for single-level and nested modes (with per-mode and global
options).
* Support for grouped short options (ls -lhR).
* Support for long options with or without equal-sign-connected arguments
(--log=./file.log and --log ./file.log are both correct).
* Support for option aliases (short/long names).
* Support for typed arguments (str, int, float built-in and other arbitrary
types via callbacks).
* Built-in type checking of option arguments.
* Support for multiple arguments for options (e.g. --point 0 0).
* Checking for missing arguments with options which require them.
* Checking for conflicting options (eg. --quiet must not come with option
--verbose).
* Support for options that MUST be passed to the program.
* Support for options required by other options (e.g. --key requires
--value).
* Support for options wanted by other options (e.g. --which wants --this or
--that or both).
* Good set of exceptions with detailed error messages.
* Ability to load interface from JSON descriptions.
* Automatic generation of help screens (for your-tool help command) with
per-mode, per-option, and per-operand descriptions, usage examples,
and more.
* Support for shortcuts for command names (shortest-unique name is
sufficient for CLAP to resolve the command, it is not necessary to
write full names).
.
CLAP is not the most easy to use command line arguments parser for Python,
but that it is one of the most powerful (if not the most powerful) framework
for writing command line interfaces. With excellent support for modes,
options, and operands, automatic input verification, and help screen
generation you get a big return on your investment.
Description-md5: 25a9eef2689e8d7fb3cd838733cd8d56