Skip to main content
Archived

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:

http://code.google.com/p/argparse/

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)

Source distribution for argparse 1.1
File Size Uploaded
argparse-1.1.zip 151.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for argparse 1.1
File Interpreter ABI Platform
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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page