Comparison
click vs docopt-ng vs knack vs typer
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 clickJazzband-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-ngA 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 knackTyper, build great CLIs. Easy to code. Based on Python type hints.
Actively maintained. Last release 5 days ago, commits in 20 of the last 26 weeks. A safe choice.
pip install typerIn short
- click is the most used: 1.1B downloads a month, 3.7× more than typer.
- Maintenance is comparable: click 93, typer 88, knack 40, docopt-ng 26 on Pythie’s Index.
- click is growing fastest: downloads +14% over the last month.
- Safe default for a new project: click.
Side by side
| Metric | click | docopt-ng | knack | typer |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 93 | Pythie’s Index: 26 | Pythie’s Index: 40 | Pythie’s Index: 88 |
| Verdict | Actively maintained | Low maintenance activity | Low maintenance activity | Actively maintained |
| Downloads / month | 1.1B | 2.5M | 3.6M | 310.5M |
| Downloads, month over month | +14% | +10% | -1% | +10% |
| GitHub stars | 17.9K | 227 | 359 | 20.5K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 37.5K | 115 | 25 | 21K |
| Last release | Nov 6, 2026 | May 30, 2023 | May 14, 2026 | Nov 26, 2026 |
| Releases, 12 months | 7 | 0 | 1 | 31 |
| Weeks with commits | 22 / 26 | 1 / 26 | 0 / 26 | 20 / 26 |
| Recent contributors | 4 | 7 | 24 | 3 |
| First release | Apr 2014 | Mar 2019 | Jun 2017 | Dec 2019 |
| Python versions | – | 3.7 – 3.10 | 3.10 – 3.14 | 3.11 – 3.15 |
| 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.