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 in both HTML and PDF formats:

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
plac-1.0.0-py2.py3-none-any.whl (19.3 kB) Copy SHA256 hash SHA256 Wheel 3.6
plac-1.0.0.tar.gz (121.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page