Skip to main content

$ click_

Build Status Coverage Status Documentation Status GitHub Release Status PyPI Release Status PyPI Supported Python Versions License Status

Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary. It’s the “Command Line Interface Creation Kit”. It’s highly configurable but comes with sensible defaults out of the box.

It aims to make the process of writing command line tools quick and fun while also preventing any frustration caused by the inability to implement an intended CLI API.

Click in three points:

  • Arbitrary nesting of commands

  • Automatic help page generation

  • Supports lazy loading of subcommands at runtime

Installing

Install and update using pip:

$ pip install -U click

A Simple Example

import click

@click.command()
@click.option("--count", default=1, help="Number of greetings.")
@click.option("--name", prompt="Your name", help="The person to greet.")
def hello(count, name):
    """Simple program that greets NAME for a total of COUNT times."""
    for _ in range(count):
        click.echo(f"Hello, {name}!")

if __name__ == '__main__':
    hello()
$ python hello.py --count=3
Your name: Click
Hello, Click!
Hello, Click!
Hello, Click!

Donate

The Pallets organization develops and supports Click and other popular packages. In order to grow the community of contributors and users, and allow the maintainers to devote more time to the projects, please donate today.

Metadata

Release files for click-hotoffthehamster 7.8.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for click-hotoffthehamster 7.8.4
File Size Uploaded Provenance
click_hotoffthehamster-7.8.4.tar.gz 103.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for click-hotoffthehamster 7.8.4
File Interpreter ABI Platform
click_hotoffthehamster-7.8.4-py3-none-any.whl Python 3 none any Details

Total release size: 203.9 kB

Release files / click_hotoffthehamster-7.8.4.tar.gz

Download URL click_hotoffthehamster-7.8.4.tar.gz
Size 103.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2bc509c4e14423fba1ac737d2b368001dbd664b1c15307e8c3a0ae30bac6f04f
BLAKE2b-256 checksum
How to use checksums
7a7b667741fa9d7d43e28acbf5a3a6285bd4adec711c94d75f42ae863addf69a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / click_hotoffthehamster-7.8.4-py3-none-any.whl

Download URL click_hotoffthehamster-7.8.4-py3-none-any.whl
Size 100.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1a90726b3ea4d2018f3f654a4cdadbe36f122b565db9edafeaf3fc30aeb297f
BLAKE2b-256 checksum
How to use checksums
d57d4312912f4d68857dbd67aa76d06a9146ba9d64b30086cbbd1b47d75c8278
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Security for click-hotoffthehamster 7.8.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page