Comparison
cappa vs cyclopts vs decli vs docopt
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 cappaIntuitive, easy CLIs based on type hints.
Actively maintained. Last release 7 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install cycloptsMinimal, easy-to-use, declarative cli tool
Low maintenance activity. Last release 18 months ago. Weaker on recent releases and release cadence.
pip install decliPythonic argument parser, that will make you smile
Likely abandoned. No release or commit for years (last release over 12 years ago).
pip install docoptIn short
- docopt looks abandoned: avoid it for new projects.
- cyclopts is the most used: 101.4M downloads a month, 4.1× more than docopt.
- Maintenance is comparable: cyclopts 88, cappa 80, decli 37 on Pythie’s Index.
- cyclopts is growing fastest: downloads +36% over the last month.
- Safe default for a new project: cyclopts.