Comparison
cappa vs pydantic-argparse vs typed-argument-parser vs tyro
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Declarative CLI argument parser.
Actively maintained. Last release 8 weeks ago, commits in 11 of the last 26 weeks. A safe choice.
pip install cappaTyped Argument Parsing with Pydantic
Low maintenance activity. Last release 22 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pydantic-argparseTyped Argument Parser
Maintained. Last release 8 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install typed-argument-parserCLI interfaces & config objects, from types
Actively maintained. Last release 4 weeks ago, commits in 7 of the last 26 weeks. A safe choice.
pip install tyroIn short
- tyro is the most used: 15.4M downloads a month, 7.3× more than typed-argument-parser.
- Maintenance is comparable: cappa 80, tyro 72, typed-argument-parser 51, pydantic-argparse 24 on Pythie’s Index.
- typed-argument-parser is growing fastest: downloads +456% over the last month.
- Safe default for a new project: tyro.
Side by side
| Metric | cappa | pydantic-argparse | typed-argument-parser | tyro |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | 24 |