Skip to main content

The smartest command line arguments parser in the world

Project description

Installation

If you are lazy, just perform

$ easy_install -U plac

which will install the module on your system (and possibly argparse too, if it is not already installed). Notice that Python 3 requires the easy_install version of the distribute project.

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 sqlalchemy is not installed. Run an easy_install -U sqlalchemy or just ignore them.

Documentation

The source code and the documentation are hosted on Google code. Here is the full documentation in HTML and PDF form:

http://plac.googlecode.com/hg/doc/plac.html

http://plac.googlecode.com/hg/doc/plac.pdf

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plac-0.9.1.tar.gz (151.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page