SimpleParsing
Simple, Elegant, Typed Argument Parsing with argparse (by lebrice)
datargs
Declarative, type-safe command line argument parsers from dataclasses and attrs classes (by roee30)
Our great sponsors
SimpleParsing | datargs | |
---|---|---|
2 | 2 | |
373 | 43 | |
- | - | |
5.8 | 5.6 | |
20 days ago | 5 months 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.
SimpleParsing
Posts with mentions or reviews of SimpleParsing.
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 personally like https://github.com/lebrice/SimpleParsing
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
What are some alternatives?
When comparing SimpleParsing and datargs you can also consider the following projects:
Python Fire - Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
typed-argument-parser - Typed argument parser for Python
pyrallis - 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!
docopt - This project is no longer maintained. Please see https://github.com/jazzband/docopt-ng
typer - Typer, build great CLIs. Easy to code. Based on Python type hints.
sourcepy - Sourcepy lets you source python scripts natively inside your shell
typed-args - Parse command line arguments by defining dataclasses