Python command-line parsing library
Project description
The argparse module provides an easy, declarative interface for creating command line tools, which knows how to:
parse the arguments and flags from sys.argv
convert arg strings into objects for your program
format and print informative help messages
and much more…
The argparse module improves on the standard library optparse module in a number of ways including:
handling positional arguments
supporting sub-commands
allowing alternative option prefixes like + and /
handling zero-or-more and one-or-more style arguments
producing more informative usage messages
providing a much simpler interface for custom types and actions
The latest version of argparse, along with API documentation and examples can be found at:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file argparse-1.0.1.zip
.
File metadata
- Download URL: argparse-1.0.1.zip
- Upload date:
- Size: 148.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5242bfffd14b81cc963849abfb94d7b5255c02bbe288d8041b7e63efdb33e318 |
|
MD5 | 371d12bf6099a98f49cfaed2a29f2355 |
|
BLAKE2b-256 | c31bfcea0d1f3e2b35f56a0831689eb1a8ca3bd180a2b5a44bcceeb4dc92b559 |
File details
Details for the file argparse-1.0.1.win32.msi
.
File metadata
- Download URL: argparse-1.0.1.win32.msi
- Upload date:
- Size: 163.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8423622e0c995685446a23b4f632c0188c75461d524365085779b710b45dcc55 |
|
MD5 | 6c9491b1d7c083cb3b38c4523a0c7434 |
|
BLAKE2b-256 | ae30ccf284f65f9fa9b825618945cdd998dd421259dbee953236332b5fa0ad0f |