Skip to main content

Yet another dataclass argparse

Reason this release was yanked:

Bug

Project description

yada

PyPI Python GitHub Issues Contributions welcome License

Yada (Yet Another Dataclass Argument Parser!) is a library to automatically generate argparse.ArgumentParser given data classes. Compared to some available options such as: Huggingface's HfArgumentParser, argparse_dataclass, and tap, it offers the following benefits:

  1. Static Type Checking
  2. Nested data classes and complex types
  3. Easy to extend and customize the parser
  4. Generate command line arguments given the data classes.

Installation

Install via PyPI (requires Python 3.8+):

pip install t2-yada

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

t2-yada-1.0.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

t2_yada-1.0.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file t2-yada-1.0.0.tar.gz.

File metadata

  • Download URL: t2-yada-1.0.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0b2 CPython/3.9.13 Darwin/21.6.0

File hashes

Hashes for t2-yada-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3cbeed4eeaa858ed16e18c64fa8c1d26c30a83f67fd04adc5e7915863d9bdc6b
MD5 12cd092f46cfb0ad6533e8a048b7eb66
BLAKE2b-256 dfedc1892b5dd90a3f3a56ea8e4cc6ffeb9f8399810320cb01576ec8f0d3befd

See more details on using hashes here.

File details

Details for the file t2_yada-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: t2_yada-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0b2 CPython/3.9.13 Darwin/21.6.0

File hashes

Hashes for t2_yada-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29facc164c1a0920aaa1a46d9606d81cf23f7fe115c9d894083bfca25040aff7
MD5 7e3b8e583c51cbf17251e2ac98e2b25f
BLAKE2b-256 798c81fa8561bf9a506e9c9551e9eed315bf3b3c10babf6faa47ba4a228bffa9

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