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

Documentation

You can choose between the HTML version and the PDF version of the basic documentation.

There is also an additional documentation for advanced usages of plac, such as using plac for testing/scripting an application and to write domain specific languages (DSL):

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

http://micheles.googlecode.com/hg/plac/doc/plac_adv.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.5.0.tar.gz (110.4 kB view details)

Uploaded Source

File details

Details for the file plac-0.5.0.tar.gz.

File metadata

  • Download URL: plac-0.5.0.tar.gz
  • Upload date:
  • Size: 110.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for plac-0.5.0.tar.gz
Algorithm Hash digest
SHA256 26779d440b0477ae64f3063ad9da7489a2a2f8fa60c78926e32927f2a67d68d0
MD5 aa0fa99d8d6325805e5b9f6b64af2a46
BLAKE2b-256 9eca9b5dc2a69a8ce6804ea1d17048a30b3fca52ec38407c731e41f352fddea5

See more details on using hashes here.

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