Skip to main content

OptDict - Option parser from dictionary, with configure from file and validation.

Project description

OptDict

Python module for easy to use command line options. With validation options values and configuration from JSON file.

Validations

The module provides this validators:

  • RequireAll(func1[, func2, … funcN]) {synonym: Require}

  • RequireOnce(func1[, func2, … funcN])

  • ValidAll(name1[, name2 … nameN]) {synonym: Valid}

  • ValidOnce(name1[, name2 … nameN])

  • Conflict(name1[, name2 … nameN])

  • ValidationQueue(Validator0[, Validator1])

Project details


Download files

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

Source Distributions

OptDict-0.4.2.zip (6.0 kB view details)

Uploaded Source

OptDict-0.4.2.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file OptDict-0.4.2.zip.

File metadata

  • Download URL: OptDict-0.4.2.zip
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for OptDict-0.4.2.zip
Algorithm Hash digest
SHA256 db7bfecc3ef4c79c215166311e7cab30093185e234e12c47cdaeeed8115a26d6
MD5 39571a58bb3ddb5dec58c38cffe0530c
BLAKE2b-256 25b115e3f871740017a4404834b0318a25b641a6b9b18dcf5c1c0007fc4b7aff

See more details on using hashes here.

File details

Details for the file OptDict-0.4.2.tar.gz.

File metadata

  • Download URL: OptDict-0.4.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for OptDict-0.4.2.tar.gz
Algorithm Hash digest
SHA256 2fdbab79f6a44fda7484a497ea4004e2534914ec69cf9fd4561f93ce2fe03bbb
MD5 90c7477059002e6c99666350bdcbfe07
BLAKE2b-256 f1308fc33b5c3882a9b336aafcb2f7ccb92548890347a64ebf0715331f964ccb

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