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-dev.tar.gz (3.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for qarg-dev.tar.gz
Algorithm Hash digest
SHA256 1e13f8380a80bde127cc4fc1cec4d272de6129e54ab1fe5f25cb0ce289b0f51d
MD5 40c41400c3c3764504509255d4c7cc9f
BLAKE2b-256 62501ebf94e4c7087f80e9a964b1e3c86640705bfc995a0c9df7b7c9e025377b

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