pallets/click
Python composable command line interface toolkit observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 47
- age_days: 4514
- days_rel: 6
- days_push: 9
- n_releases_24m: 12
Adoption not part of the score
17635 stars · 1953 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Click is a Python package for creating composable command line interfaces with minimal code, using decorators to turn functions into CLI commands. It provides arbitrary command nesting, automatic help page generation, and lazy loading of subcommands.
Use cases
- build a python cli tool
- parse command line arguments in python
- create nested subcommands like git
- auto-generate help pages for a cli
- prompt users for input in a terminal app
- build a plugin-based cli with lazy-loaded commands
When to choose
- writing a Python command line tool with options, arguments, and subcommands
- you want automatic, well-formatted help pages
- you need composable, nestable command groups
- you want sensible defaults with room for deep configuration
When to avoid
- building CLIs in languages other than Python
- you need a full TUI (terminal user interface) with panels and widgets
- a tiny script where argparse from the stdlib suffices and you want zero dependencies
Facets
library · maturity stable
cli developer-tools developer-tools python cross-platform cli cli-framework decorators argument-parsing pallets subcommands help-generation command-line automation
6 sources
- readme: https://github.com/pallets/click · fetched 2026-08-28 · 4c3de4aa0918
- homepage: https://click.palletsprojects.com · fetched 2026-08-29 · 3965ee2417e2
- site_page: https://click.palletsprojects.com/en/stable/quickstart · fetched 2026-08-29 · 18f14370f549
- site_page: https://click.palletsprojects.com/en/stable/documentation · fetched 2026-08-29 · 27fd829f6426
- registry_pypi: https://pypi.org/pypi/click/json · fetched 2026-08-29 · 4d3ac777e54c
- site_page: https://click.palletsprojects.com/en/stable/faqs · fetched 2026-08-29 · 695e59ce013a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pallets/click | main | 95 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem