This project has been archived by its maintainers, and is no longer receiving any updates.
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:
Metadata
Release files for argparse 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| argparse-1.1.zip | 151.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| argparse-1.1.win32.msi | Details |
Total release size: 315.3 kB
Release files / argparse-1.1.zip
| Download URL | argparse-1.1.zip |
|---|---|
| Size | 151.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee6da1aaad8b08a74a33eb82264b1a2bf12a7d5aefc7e9d7d40a8f8fa9912e62
|
|
BLAKE2b-256 checksum How to use checksums |
450bc5cdf94e911872072b9bd17a6412145c7cda88934f241dcc8a0d11b10c5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / argparse-1.1.win32.msi
| Download URL | argparse-1.1.win32.msi |
|---|---|
| Size | 163.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83aa6d2a117c3fb5ada747c652972cb437ba7f2bb2b63c5fee94be79d1de0403
|
|
BLAKE2b-256 checksum How to use checksums |
bf5b35b761a62c19b8f21032eb7f6791ec728b962264c6178260c8a8cf28cae6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for argparse 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.