# Click

> Python package for composable command line interfaces with as little code as necessary

Source: https://talira.ai/catalog/click-vnsm2c6z
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / cli frameworks](https://talira.ai/categories/libraries/cli-frameworks), [languages / python](https://talira.ai/categories/languages/python)
- Platforms: cli
- Licence: BSD-3-Clause[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Plugins: yes[^2]
- Backed by: [Pallets](https://talira.ai/orgs/pallets.md)

Click (the Command Line Interface Creation Kit) is an open source Python package for building command line tools in a composable way with little code. You decorate functions with @click.command, @click.option and @click.argument, and Click parses the arguments, converts and validates parameter types, prompts for missing input and generates formatted help pages automatically. Commands nest arbitrarily into groups, subcommands can load lazily at runtime, and a context object passes state between them. It includes shell completion, file and path handling, colours and paging, prompts and confirmations, Unicode and Windows console support, and a test runner for invoking commands in tests. It's BSD-3-Clause licensed and maintained by Pallets, the community behind Flask.

## Links

- Website: https://click.palletsprojects.com/
- GitHub: https://github.com/pallets/click
- Docs: https://click.palletsprojects.com/en/stable/

## Problems it solves

- build a command line tool in Python with options and subcommands
- argparse is too verbose for my Python CLI
- generate help pages automatically for my Python command line app
- nest subcommands in a Python CLI like git does
- add shell completion to a Python command line tool
- prompt the user for missing values in a Python CLI
- test my Python CLI commands without spawning processes

## Features

- decorator-based commands, options and arguments
- arbitrary nesting of command groups
- lazy loading of subcommands
- automatic help page generation
- parameter types with conversion and validation
- prompts and confirmation
- shell completion
- file handling utilities
- context object for passing state
- Unicode and Windows console support
- testing utilities (CliRunner)
- extensible: custom parameter types and command classes

## Capabilities

- Takes plugins: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- backed by Pallets
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Sources

[^1]: https://github.com/pallets/click (checked 22 Nov 2026)
[^2]: https://click.palletsprojects.com/en/stable/ (checked 22 Nov 2026)
