SimpleParsing
Simple, Elegant, Typed Argument Parsing with argparse (by lebrice)
sourcepy
Sourcepy lets you source python scripts natively inside your shell (by dchevell)
Our great sponsors
SimpleParsing | sourcepy | |
---|---|---|
2 | 2 | |
370 | 58 | |
- | - | |
6.3 | 0.0 | |
19 days ago | almost 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.
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
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 SimpleParsing and sourcepy 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.
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!
typed-argument-parser - Typed argument parser for Python
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.
typed-args - Parse command line arguments by defining dataclasses
datargs - Declarative, type-safe command line argument parsers from dataclasses and attrs classes