Skip to main content

Simple command-line argument parser.

Project description

argsdict

Simple command-line argument parser.

$ python args.py John Smith --age=30 --married

from argsdict import args

arg = args(["name", "surname"])
>> {"name": "John",
    "surname": "Smith",
    "--age": "30",
    "--married": True}

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

argsdict-1.0.0.tar.gz (8.5 kB view details)

Uploaded Source

File details

Details for the file argsdict-1.0.0.tar.gz.

File metadata

  • Download URL: argsdict-1.0.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for argsdict-1.0.0.tar.gz
Algorithm Hash digest
SHA256 38b437e7f2ff0bcf2935f5039d0cfd12cc0090928c4541159dafaff4c00c83e9
MD5 02fdece7cb61c4f9b5613e09acb823ac
BLAKE2b-256 0aa2c1279004504547dc63b69c1c5b410fd1c4d87ea0fe095b0be3aa5cb35ef5

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