datargs
Declarative, type-safe command line argument parsers from dataclasses and attrs classes (by roee30)
sourcepy
Sourcepy lets you source python scripts natively inside your shell (by dchevell)
datargs | sourcepy | |
---|---|---|
2 | 2 | |
44 | 58 | |
- | - | |
5.1 | 0.0 | |
13 days ago | about 2 years 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
sourcepy
Posts with mentions or reviews of sourcepy.
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
Sourcepy also offers a radically different approach for this. Just put some functions into a Python file and source it. A big magic for building production apps but pretty cool for turning functions into CLI commands without any special code.
-
Sourcepy: source python files straight from the shell
Hey folks, sharing a project I built just for fun, Sourcepy: https://github.com/dchevell/sourcepy
What are some alternatives?
When comparing datargs and sourcepy you can also consider the following projects:
SimpleParsing - Simple, Elegant, Typed Argument Parsing with argparse
typed-argument-parser - Typed argument parser for Python