Simple, Elegant, Typed Argument Parsing with argparse
-
Updated
Apr 8, 2024 - Python
Simple, Elegant, Typed Argument Parsing with argparse
Implement minimal boilerplate CLIs derived from type hints and parse from command line, config files and environment variables
Turn Pydantic defined Data Models into CLI Tools
Pyrallis is a framework for structured configuration parsing from both cmd and files. Simply define your desired configuration structure as a dataclass and let pyrallis do the rest!
Writing argparse-based command line applications can become tedious, repetitive, and difficult to do right. Relax and let this library free you from that burden.
Parse command line arguments by defining dataclasses
Create your own cli tool with argument
Opinionated environment variables parser for Go
Dynamic config system based on python classes
Generate CLIs from Python functions or classes
A light-weight Python CLI flag parser for the impatient.
Add a description, image, and links to the argparse-alternative topic page so that developers can more easily learn about it.
To associate your repository with the argparse-alternative topic, visit your repo's landing page and select "manage topics."