Skip to main content

Yet Another Option Parser (full fledged)

Project description

A simple and light library that handle both command line parsing and config file reading.

The only thing you have to do, is to describe (throught a YAML resource / config file) all options and parameters your main function expects.

This way, you only describe what to do, and not how to do it.

Every is done under the hood ; a simple call to the library handle :

  • application banner and help screen printing
  • command line parsing
  • building of dictionnary that hold configuration (flags, options and parameters values)
  • parsing optional config file that will override default values
  • etc.

Please read file README for getting started.

Other instructions are available in the documentation : both user and reference manuals.

Please be warned, that the library is in pre-alpha stage (for a short time), until full documentation will be written : so package don’t contains all source files yet.

Project details

Download files

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

Files for yaop, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size yaop-0.1.1.tar.gz (15.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page