Comparison
click vs knack vs simple-parsing 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 knackA small utility to simplify and clean up argument parsing scripts.
Maintained. Last release 4 months ago. Weaker on release cadence.
pip install simple-parsingCLI 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 | simple-parsing | tyro |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 93 | 40 |