Skip to main content

The smartest command line arguments parser in the world

Project description

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:

https://github.com/micheles/plac/blob/0.9.6/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.6.tar.gz (122.3 kB view hashes)

Uploaded Source

Built Distribution

plac-0.9.6-py2.py3-none-any.whl (20.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page