Comparison
argh vs argparse-dataclass vs decli vs fire
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Plain Python functions as CLI commands without boilerplate
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install arghDeclarative CLIs with argparse and dataclasses
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install argparse-dataclassMinimal, easy-to-use, declarative cli tool
Low maintenance activity. Last release 18 months ago. Weaker on commit activity and recent releases.
pip install decliA library for automatically generating command line interfaces.
Low maintenance activity. Last release 16 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install fireIn short
- argh is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- argparse-dataclass is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- fire is the most used: 23.3M downloads a month, 5.6× more than decli.
- decli is better maintained: Pythie’s Index 37 against 21.
Side by side
| Metric | argh | argparse-dataclass | decli | fire |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | 28 |