Skip to main content

A lightweight, dynamic arg parser for fun, but not profit.

Project description

A lightweight, dynamic argument parsing library for Python programs with klugy support for typing variables.

I made this for a teaching machine project I’m working on (I needed a custom argument parser for _reasons_), and I’m always too impatient to use argparse.

Notes

Flags with no value are automatically converted to True boolean The module uses ast.literal_eval, so “{‘a’:’b’}” will convert to a dict (all quotes required) Programs will produce error messages when flags are missing

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

arglite-0.9.9.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arglite-0.9.9-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file arglite-0.9.9.tar.gz.

File metadata

  • Download URL: arglite-0.9.9.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for arglite-0.9.9.tar.gz
Algorithm Hash digest
SHA256 5ac70503a4a3224dfeb14635f3a6095ad712c6398d355975a27e1de03efedb5e
MD5 191249ca4d81f85afc370df332f7adfe
BLAKE2b-256 223a7ea52405ea0d1d0bcbab8a0aec96c1dffaa798abc57991419820ed919fa0

See more details on using hashes here.

File details

Details for the file arglite-0.9.9-py3-none-any.whl.

File metadata

  • Download URL: arglite-0.9.9-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for arglite-0.9.9-py3-none-any.whl
Algorithm Hash digest
SHA256 15cc5a6354f149da349a12741bcea6c05a061babb3926c9879571d430c13bb58
MD5 db737b4c85570fd409dc4973d705f4c7
BLAKE2b-256 3fc65fac01704bd7c4d27fdc4ddff63b33f38067deda1defdf655e60e0d982b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page