1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[py37]= Optparse wrapper for CLI capabilities (PY37)
8 SDESC[py38]= Optparse wrapper for CLI capabilities (PY38)
9 HOMEPAGE= https://palletsprojects.com/p/click/
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPI/c/click
14 DISTFILE[1]= click-7.1.2.tar.gz:main
19 OPTIONS_AVAILABLE= PY38 PY37
20 OPTIONS_STANDARD= none
21 VOPTS[py37]= PY38=OFF PY37=ON
22 VOPTS[py38]= PY38=ON PY37=OFF
28 [PY37].USES_ON= python:py37
30 [PY38].USES_ON= python:py38
32 [FILE:2019:descriptions/desc.single]
36 Click is a Python package for creating beautiful command line interfaces
37 in a composable way with as little code as necessary. It's the "Command
38 Line Interface Creation Kit". It's highly configurable but comes with
39 sensible defaults out of the box.
41 It aims to make the process of writing command line tools quick and fun
42 while also preventing any frustration caused by the inability to
43 implement an intended CLI API.
45 Click in three points:
47 - Arbitrary nesting of commands
48 - Automatic help page generation
49 - Supports lazy loading of subcommands at runtime
54 Install and update using `pip`_:
58 $ pip install -U click
60 .. _pip: https://pip.pypa.io/en/stable/quickstart/
65 .. code-block:: python
70 @click.option("--count", default=1, help="Number of greetings.")
71 @click.option("--name", prompt="Your name", help="The person to
73 def hello(count, name):
74 """Simple program that greets NAME for a total of COUNT times."""
75 for _ in range(count):
76 click.echo(f"Hello, {name}!")
78 if __name__ == '__main__':
83 $ python hello.py --count=3
92 The Pallets organization develops and supports Click and other popular
93 packages. In order to grow the community of contributors and users, and
94 allow the maintainers to devote more time to the projects, `please
97 .. _please donate today: https://palletsprojects.com/donate
102 - Website: https://palletsprojects.com/p/click/
103 - Documentation: https://click.palletsprojects.com/
104 - Releases: https://pypi.org/project/click/
105 - Code: https://github.com/pallets/click
106 - Issue tracker: https://github.com/pallets/click/issues
107 - Test status: https://dev.azure.com/pallets/click/_build
108 - Official chat: https://discord.gg/t6rrQZH
112 d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a 297279 click-7.1.2.tar.gz