Comparison
click vs clize vs docopt vs python-gflags
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 3 weeks ago, commits in 20 of the last 26 weeks. A safe choice.
pip install clickTurn functions into command-line interfaces
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install clizePythonic argument parser, that will make you smile
Likely abandoned. No release or commit for years (last release over 12 years ago).
pip install docoptObsolete. Please migrate to absl-py instead.
Archived. The repository is read-only: no more fixes or releases will come.
pip install python-gflagsIn short
- clize is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- docopt looks abandoned: avoid it for new projects.
- python-gflags is archived: its authors point to absl-py.
- 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 | clize | docopt | python-gflags |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 93 | Pythie’s Index: 16 | Pythie’s Index: 19 | Pythie’s Index: 4 |
| Verdict | Actively maintained | Slowing down | Likely abandoned | Archived |
| Downloads / month | 1.1B | 87K | 25.4M | 385.1K |
| Downloads, month over month | +16% | +11% | +12% | +34% |
| GitHub stars | 17.9K | 493 | – | 188 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 37.5K | 21 | 1.8K | 10 |
| Last release | Nov 6, 2026 | Jul 9, 2023 | Jun 16, 2014 | Oct 27, 2017 |
| Releases, 12 months | 7 | 0 | 0 | 0 |
| Weeks with commits | 20 / 26 | 0 / 26 | – | 0 / 26 |
| Recent contributors | 4 | 8 | – | 19 |
| First release | Apr 2014 | Dec 2011 | Apr 2012 | Jan 2010 |
| Python versions | – | 3.6 – 3.10 | 3.2 – 3.3 | 3.4 |
| License | BSD-3-Clause | MIT | MIT | non-standard |
| 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.