Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

ThomasWaldmann/argparse

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

argparse is maintained in the python standard library, not here.
8b46e45

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
This repo is archived now and completely unsupported
----------------------------------------------------

All python versions addressed by this code are out of support since long.

DO NOT WRITE EMAIL TO ME ABOUT THIS REPO, I WILL NOT RESPOND.

For details about this, just read the text below.


Important Note about the PyPi argparse package
----------------------------------------------
argparse development happens in the python standard library nowadays, NOT HERE.

The PyPi argparse package is mostly for people who want to have argparse on
older Pythons, like < 2.7 or < 3.2 because it was not in stdlib back then.

Thus, do not file issues, feature requests or pull requests for the PyPi
version of argparse if they also apply to standard library argparse.

If you find a bug in argparse (PyPi), please try to reproduce it with latest
python 2.7 and 3.4/3.5 (and use argparse from stdlib).

If it happens there also, please file a bug in the python.org issue tracker.
If it does not happen there, file a bug in the argparse package issue tracker.


About argparse
--------------
The argparse module makes it easy to write user friendly command line
interfaces.

The program defines what arguments it requires, and argparse will figure out
how to parse those out of sys.argv. The argparse module also automatically
generates help and usage messages and issues errors when users give the
program invalid arguments.

As of Python >= 2.7 and >= 3.2, the argparse module is maintained within the
Python standard library. For users who still need to support Python < 2.7 or
< 3.2, it is also provided as a separate package, which tries to stay
compatible with the module in the standard library, but also supports older
Python versions.

Also, we can fix bugs here for users who are stuck on some non-current python
version, like e.g. 3.2.3 (which has bugs that were fixed in a later 3.2.x
release).

argparse is licensed under the Python license, for details see LICENSE.txt.


Compatibility
-------------

argparse should work on Python >= 2.3, it was tested on:

* 2.3, 2.4, 2.5, 2.6 and 2.7
* 3.1, 3.2, 3.3, 3.4


Installation
------------

Try one of these:

    python setup.py install

    easy_install argparse

    pip install argparse

    putting argparse.py in some directory listed in sys.path should also work


About

python argparse, pypi version (moved from google code)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages