A simple concise way of defining arguments for an argparse.ArgumentParser
-- Syntax --
comma seperated list of args
args:
<short name>(<long name>{<dest>[<type>=<default>@<action>#<nargs>$<const>
all but short name are optional
if long name is missing, short name will be used
if long name is missing, and short name has len > 1
long name will be short name and short name will be the
first character of short name
examples:
f(foo)[int]=10
f[int]=10
supported add_argument options
name or flags (short name & long name)
action = '@'
nargs = '#'
const = '$'
default = '='
type = '['
choices = not supported
required = '!'
help = not supported
metavar = not supported
dest = '{'
-- Example --
import qarg
ns = qarg.get('f(foo[int=1,r(bar,baz[str,p(pop@store_true')
Metadata
Release files for qarg 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qarg-0.2.tar.gz | 4.5 kB | Without provenance | Details for qarg-0.2.tar.gz |
Release files / qarg-0.2.tar.gz
| Download URL | qarg-0.2.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec70876754a337fc586c747253ae3e3e06a4750a3c9b0103ac72bead544b49b8
|
|
BLAKE2b-256 checksum How to use checksums |
ee3d0bdd7daf3cc8596120477ca32ac00b007d74259fc01fa44259f97a2f5ae8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for qarg 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.