Click
Composable command-line toolkit from the Pallets team — builds CLIs with minimal boilerplate using decorators, used by Flask, pip, and countless tools
Visit Click →Click builds command-line interfaces with decorators — @click.command() and @click.option() handle argument parsing, help text, and validation with far less boilerplate than the standard library’s argparse. It’s what Flask’s command-line interface is built on.
Typer takes a newer, type-hint-driven approach to the same problem and began as a layer on top of Click and, since version 0.26.0, bundles its own copy of Click’s source rather than depending on it — worth comparing if you want CLI arguments inferred from function signatures rather than explicit decorators.