Skip to main content

Clicking

PyPI version PyPI pyversions PyPI license PyPI status PyPI format

Convenience wrapper for Click.

  • Free software: MIT license

Installation

(.venv) > pip install clicking

Usage

Echo

Convenience functions for click.echo because it’s a pain to remember the color and naming convention I myself use before.

info

Print message in bold white.

progress

Print message in bold blue.

working

Print message in bold cyan.

success

Print message in bold green.

warning

Print message in bold yellow.

fail

Print message in bold red.

import clicking

clicking.info('Hello world!')

Style

Convenience functions for click.style due to the same above reason.

info

Text in bold white.

progress

Text in bold blue.

working

Text in bold cyan.

success

Text in bold green.

warning

Text in bold yellow.

fail

Text in bold red.

import clicking

print(clicking.style.info('Hello world!'))

Exception

Error

Print message in bold red and exit.

import clicking

raise clicking.Error('Something broke!')

Group

Colorized custom class for click.group.

import click
import clicking


@click.group(cls=clicking.Group)
def group():
   pass

Command

Colorized custom class for click.command.

import click
import clicking


@click.command(cls=clicking.Command)
def command():
   pass

History

0.2.0

  • Add style module.

  • Add colorized Group and Command.

0.1.1

  • Add exception that print message in bold red when raised.

0.1.0

  • First public release.

Metadata

Release files for clicking 0.2.0

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

Built distribution (wheel)

Table of built distributions (wheels) for clicking 0.2.0
File Interpreter ABI Platform Actions
clicking-0.2.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for clicking-0.2.0-py2.py3-none-any.whl

Release files / clicking-0.2.0-py2.py3-none-any.whl

Download URL clicking-0.2.0-py2.py3-none-any.whl
Size 4.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
94d91a738d8774f000faa15ad7e34302471cd6608ae14d3e8040186d397908e3
BLAKE2b-256 checksum
How to use checksums
89d4ffe25f6ff946141de06ca91cbc14221cc885ca417f918511bcde0fd074ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Security for clicking 0.2.0

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file No provenance

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