Comparison
cleo vs click vs docopt vs docopt-ng
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Cleo allows you to create beautiful and testable command-line interfaces.
Low maintenance activity. Last release over 3 years ago, commits in 4 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install cleoComposable command line interface toolkit
Actively maintained. Last release 4 weeks ago, commits in 22 of the last 26 weeks. A safe choice.
pip install clickPythonic argument parser, that will make you smile
Likely abandoned. No release or commit for years (last release over 12 years ago).
pip install docoptJazzband-maintained fork of docopt, the humane command line arguments parser.
Low maintenance activity. Last release over 3 years ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install docopt-ngIn short
- docopt looks abandoned: avoid it for new projects.
- click is the most used: 1.1B downloads a month, 27× more than cleo.
- click also has the best Pythie’s Index (93).
- click is growing fastest: downloads +14% over the last month.
- Safe default for a new project: click.
Side by side
| Metric | cleo | click | docopt | docopt-ng |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | Pythie’s Index: 93 | Pythie’s Index: 19 | Pythie’s Index: 26 |
| Verdict | Low maintenance activity | Actively maintained | Likely abandoned | Low maintenance activity |
| Downloads / month | 42.2M | 1.1B | 24.7M | 2.5M |
| Downloads, month over month | +0% | +14% | +9% | +10% |
| GitHub stars | 1.4K | 17.9K | – | 227 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 23 | 37.5K | 1.8K | 115 |
| Last release | Oct 30, 2023 | Nov 6, 2026 | Jun 16, 2014 | May 30, 2023 |
| Releases, 12 months | 0 | 7 | 0 | 0 |
| Weeks with commits | 4 / 26 | 22 / 26 | – | 1 / 26 |
| Recent contributors | 8 | 4 | – | 7 |
| First release | Mar 2014 | Apr 2014 | Apr 2012 | Mar 2019 |
| Python versions | 3.7 – 3.11 | – | 3.2 – 3.3 | 3.7 – 3.10 |
| License | MIT | BSD-3-Clause | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.