Skip to main content

UNKNOWN

Project description

quick argument parsing

A simple concise way of defining arguments for an argparse.ArgumentParser

– Syntax –

comma separated argument definitions in the form of…

<short name>(<long name>)[<type>]=<default>

all but short name is optional if long name is undefined, long name will equal short name if short name is more than 1 character and long name is undefined than short name will be the first character of short name and long name will be short name (i.e. if ‘foo’ is provided, short name == ‘f’, long name == ‘foo’)

– Example –

import qarg ns = qarg.get(‘f(foo)[int]=1,r(bar),baz[str]’)

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

qarg-0.1.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file qarg-0.1.tar.gz.

File metadata

  • Download URL: qarg-0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for qarg-0.1.tar.gz
Algorithm Hash digest
SHA256 8222c4b2ef7b0e71a53ef0b09b4f938089fc452f2058f9b02dd4decddf9d6d27
MD5 40aa6f2ff99e170d7aa249990d74b22d
BLAKE2b-256 9d9b66242f1a6db6b2b13ea96e555ca68efbd7e7b496397b921aba094f353aee

See more details on using hashes here.

Provenance

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