Comparison
click vs knack vs targ vs tyro
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 clickA 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 knackBuild a Python CLI for your app, just using type hints and docstrings.
Maintained. Last release 4 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install targCLI interfaces & config objects, from types
Actively maintained. Last release 4 weeks ago, commits in 7 of the last 26 weeks. A safe choice.
pip install tyroIn short
- click is the most used: 1.1B downloads a month, 74× more than tyro.
- click also has the best Pythie’s Index (93).
- tyro is growing fastest: downloads +57% over the last month.
- Safe default for a new project: click.
Side by side
| Metric | click | knack | targ | tyro |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 93 | Pythie’s Index: 40 | Pythie’s Index: 46 | Pythie’s Index: 72 |
| Verdict | Actively maintained | Low maintenance activity | Maintained | Actively maintained |
| Downloads / month | 1.1B | 3.6M | 681.9K | 15.4M |
| Downloads, month over month | +14% | -1% | +33% | +57% |
| GitHub stars | 17.9K | 359 | 22 | 1.2K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 37.5K | 25 | 2 | 200 |
| Last release | Nov 6, 2026 | May 14, 2026 | Jul 19, 2026 | Nov 4, 2026 |
| Releases, 12 months | 7 | 1 | 1 | 18 |
| Weeks with commits | 22 / 26 | 0 / 26 | 3 / 26 | 7 / 26 |
| Recent contributors | 4 | 24 | 5 | 11 |
| First release | Apr 2014 | Jun 2017 | Apr 2020 | Oct 2022 |
| Python versions | – | 3.10 – 3.14 | 3.10 – 3.14 | 3.8 – 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.