python-click
Port variant py37
Summary Optparse wrapper for CLI capabilities (PY37)
Package version 7.1.2
Homepage https://palletsprojects.com/p/click/
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants py38
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 28 APR 2020, 18:16:57 UTC
Port created 27 SEP 2017, 23:06:09 UTC
Subpackage Descriptions
single \$ click\_ ========== 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`_: .. code-block:: text $ pip install -U click .. _pip: https://pip.pypa.io/en/stable/quickstart/ A Simple Example ---------------- .. code-block:: python 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() .. code-block:: text $ 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`_. .. _please donate today: https://palletsprojects.com/donate Links ----- - Website: https://palletsprojects.com/p/click/ - Documentation: https://click.palletsprojects.com/ - Releases: https://pypi.org/project/click/ - Code: https://github.com/pallets/click - Issue tracker: https://github.com/pallets/click/issues - Test status: https://dev.azure.com/pallets/click/_build - Official chat: https://discord.gg/t6rrQZH
Configuration Switches (platform-specific settings discarded)
PY37 ON Build using Python 3.7 PY38 OFF Build using Python 3.8
Package Dependencies by Type
Build and Runtime python37:single:standard
python-setuptools:single:py37
Download groups
main mirror://PYPI/c/click
Distribution File Information
d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a 297279 click-7.1.2.tar.gz
Ports that require python-click:py37
python-Flask:py37 Lightweight WSGI web application framework (PY37)
python-black:py37 Uncompromising code formatter (PY37)
python-celery:py37 Distributed Task Queue (PY37)
python-click-didyoumean:py37 Enables git-like did-you-mean feature (PY37)
python-click-log:py37 Logging integration for Click (PY37)
python-click-repl:py37 REPL plugin for Click (PY37)
python-click-threading:py37 Multithreaded Click apps made easy (PY37)
python-flex:py37 Swagger Schema validation (PY37)
python-vdirsyncer:py37 Synchronize calendars and contacts (PY37)