Plac: Parsing the Command Line the Easy Way
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.rst

Installation

If you are lazy, just perform

$ pip install plac

which will install the module on your system (and possibly argparse too, if it is not already installed).

If you prefer to install the full distribution from source, including the documentation, download the tarball, unpack it and run

$ python setup.py install

in the main directory, possibly as superuser.

Testing

Run

$ python doc/test_plac.py

or

$ nosetests doc

or

$ py.test doc

Some tests will fail if sqlsoup is not installed. Run a pip install sqlsoup or just ignore them.

Documentation

The source code and the documentation are hosted on GitHub. Here is the full documentation in both HTML and PDF formats: