clidantic
Typed Command Line Interfaces powered by Click and Pydantic (by edornd)
argdantic
Typed command line interfaces with argparse and pydantic (by edornd)
clidantic | argdantic | |
---|---|---|
2 | 1 | |
22 | 36 | |
- | - | |
0.6 | 6.3 | |
about 1 month ago | 2 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.
clidantic
Posts with mentions or reviews of clidantic.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-08.
-
Argdantic: typed CLIs with Argparse and Pydantic
I know you want to know it. I chose argparse for two main reasons: first and foremost, this was a personal exercise, as both in-depth look into the standard library and project implementation effort. Second, despite its flaws, argparse remains the go-to choice for many use cases. E.g., from my personal experience in the machine learning field, it's absolutely common to see parsers everywhere. This library is a simple attempt to tidy up and provide a "simpler/cleaner" UX. If you're interested, I also made a click-based version. It is not up to speed with argdantic since I don't use click that much, but it's on my TODO list.
-
Yet another command line tool: clidantic, typed CLIs with click and pydantic
Here's a link to the project, ideas and suggestions are of course welcome: https://github.com/edornd/clidantic
argdantic
Posts with mentions or reviews of argdantic.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-08.
-
Argdantic: typed CLIs with Argparse and Pydantic
Argdantic tries to merge the powerful features of pydantic with the simplicity and practicality of argparse. Born from my previous experiment (clidantic), argdantic is a natural evolution trying to bring the same concept to argparse, together with some goodies.
What are some alternatives?
When comparing clidantic and argdantic you can also consider the following projects:
pydantic-cli - Turn Pydantic defined Data Models into CLI Tools