Comparison
click vs docopt vs pecan vs tool
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Composable command line interface toolkit
Actively maintained. Last release 4 weeks ago, commits in 20 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 docoptA WSGI object-dispatching web framework, designed to be lean and fast, with few dependencies.
Low maintenance activity. Last release 9 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pecanA compact modular conf/web/console framework.
Likely abandoned. No release or commit for years (last release over 15 years ago).
pip install toolIn short
- docopt looks abandoned: avoid it for new projects.
- tool looks abandoned: avoid it for new projects.
- click is the most used: 1.1B downloads a month, 45× more than docopt.
- click also has the best Pythie’s Index (93).
- click is growing fastest: downloads +16% over the last month.
- Safe default for a new project: click.
Side by side
| Metric | click | docopt | pecan | tool |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 93 | Pythie’s Index: 19 | Pythie’s Index: 36 | Pythie’s Index: 19 |
| Verdict | Actively maintained | Likely abandoned | Low maintenance activity | Likely abandoned |
| Downloads / month | 1.1B | 25.4M | 136.2K | 332.6K |
| Downloads, month over month | +16% | +12% | +4% | -48% |
| GitHub stars | 17.9K | – | 106 | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 37.5K | 1.8K | 35 | 8 |
| Last release | Nov 6, 2026 | Jun 16, 2014 | Mar 12, 2026 | Nov 25, 2011 |
| Releases, 12 months | 7 | 0 | 1 | 0 |
| Weeks with commits | 20 / 26 | – | 0 / 26 | – |
| Recent contributors | 4 | – | 14 | – |
| First release | Apr 2014 | Apr 2012 | Apr 2012 | May 2011 |
| Python versions | – | 3.2 – 3.3 | 3.10 – 3.13 | – |
| License | BSD-3-Clause | MIT | non-standard | GPL-3.0 |
| 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.