Comparison
click vs docopt vs knack vs typed-argument-parser
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 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 docoptA Command-Line Interface framework
Low maintenance activity. Last release 7 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install knackTyped Argument Parser
Maintained. Last release 8 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install typed-argument-parserIn short
- docopt looks abandoned: avoid it for new projects.
- click is the most used: 1.1B downloads a month, 46× more than docopt.
- click also has the best Pythie’s Index (93).
- typed-argument-parser is growing fastest: downloads +456% over the last month.
- Safe default for a new project: click.
Side by side
| Metric | click | docopt | knack | typed-argument-parser |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 93 | Pythie’s Index: 19 | Pythie’s Index: 40 | Pythie’s Index: 51 |
| Verdict | Actively maintained | Likely abandoned | Low maintenance activity | Maintained |
| Downloads / month | 1.1B | 24.7M | 3.6M | 2.1M |
| Downloads, month over month | +14% | +9% | -1% | +456% |
| GitHub stars | 17.9K | – | 359 | 631 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 37.5K | 1.8K | 25 | 55 |
| Last release | Nov 6, 2026 | Jun 16, 2014 | May 14, 2026 | Mar 28, 2026 |
| Releases, 12 months | 7 | 0 | 1 | 1 |
| Weeks with commits | 22 / 26 | – | 0 / 26 | 3 / 26 |
| Recent contributors | 4 | – | 24 | 9 |
| First release | Apr 2014 | Apr 2012 | Jun 2017 | Aug 2019 |
| Python versions | – | 3.2 – 3.3 | 3.10 – 3.14 | 3.10 – 3.14 |
| License | BSD-3-Clause | MIT | 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.