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.8.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.8-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arglite-0.9.8.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.8.tar.gz
Algorithm Hash digest
SHA256 950caacea605b593a6def3625c48bb924f3222f79ccf1766168223932c4fec70
MD5 70deb1bd90bb540a5bdecab9f36c61db
BLAKE2b-256 96d1f0104dd643e582c75b3e25fbab5807c787d06b2e83bbc0fd5319ca5297e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: arglite-0.9.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 e61c080d6786a414e514437aa811c59cc3e679b63b1526912812b86e5050fc7e
MD5 96356201a28fb7a6c813617948d3f65d
BLAKE2b-256 77d58c25e71d37dcddb171fb2ced6a0fd8f8a2428c9bcc37b05d8ed5e48390fc

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