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.7.tar.gz (5.3 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.7-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for arglite-0.9.7.tar.gz
Algorithm Hash digest
SHA256 1041e617cc70cc66d93ff099375ff7870de916a2b310a02f62a6d9d8d6f583bc
MD5 2878b74818bbbfbf352f0bd40d8899b3
BLAKE2b-256 1b6c5aa03ef41bada3a9fa99d84f055be61e9f4547ae92ed567834806acfc699

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for arglite-0.9.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2097b8e74b3c7460ed86d0fb1c055668257735b54156c4f1e9b397f7113d1f6b
MD5 c00fbb035ba0c5d49b191983aac458f7
BLAKE2b-256 a64f7911017d5cec38f9d0b59ce7635fa4664bb46d6345d907ebec8e4bfaf5b6

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