Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A more powerful and flexible alternative to the standard getopt module

Project Description

getargs is a Python module that implements a command line parser that Python scripts can use to parse their command line arguments in sys.argv. It is designed as a considerably more powerful and flexible alternative to the standard getopt module. While supporting all features provided by getopt, it also allows a command line option to take an arbitrary number of arguments and have defaults, permits switches (options without arguments) and options with arguments to be interleaved on the command line, allows the developer to specify the maximum and minimum number of arguments an option can take and allows the user to specify his oft-used options and arguments in a file.

Release History

Release History

This version
History Node

2.0

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting