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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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