datargs
Declarative, type-safe command line argument parsers from dataclasses and attrs classes (by roee30)
typed-argument-parser
Typed argument parser for Python (by swansonk14)
datargs | typed-argument-parser | |
---|---|---|
2 | 1 | |
43 | 456 | |
- | - | |
5.6 | 8.5 | |
5 months ago | 16 days ago | |
Python | Python | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
datargs
Posts with mentions or reviews of datargs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-03.
-
I am sick of writing argparse boilerplate code, so I made "duckargs" to do it for me
I made datargs for the same reason: ``` from dataclasses import dataclass from pathlib import Path from datargs import parse
-
Configpile: a modern, typed argparse replacement
check out the similar datargs
typed-argument-parser
Posts with mentions or reviews of typed-argument-parser.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-03.
-
I am sick of writing argparse boilerplate code, so I made "duckargs" to do it for me
Hmm… did you try such approaches, as [click](https://github.com/pallets/click) or[tap](https://github.com/swansonk14/typed-argument-parser)?
What are some alternatives?
When comparing datargs and typed-argument-parser you can also consider the following projects:
SimpleParsing - Simple, Elegant, Typed Argument Parsing with argparse
typed-args - Parse command line arguments by defining dataclasses
typer - Typer, build great CLIs. Easy to code. Based on Python type hints.