]> crepu.dev Git - config.git/blame - djavu-asus/elpy/rpc-venv/lib/python3.11/site-packages/click-8.1.7.dist-info/METADATA
ActualizaciĆ³n de Readme
[config.git] / djavu-asus / elpy / rpc-venv / lib / python3.11 / site-packages / click-8.1.7.dist-info / METADATA
CommitLineData
53e6db90
DC
1Metadata-Version: 2.1
2Name: click
3Version: 8.1.7
4Summary: Composable command line interface toolkit
5Home-page: https://palletsprojects.com/p/click/
6Maintainer: Pallets
7Maintainer-email: contact@palletsprojects.com
8License: BSD-3-Clause
9Project-URL: Donate, https://palletsprojects.com/donate
10Project-URL: Documentation, https://click.palletsprojects.com/
11Project-URL: Changes, https://click.palletsprojects.com/changes/
12Project-URL: Source Code, https://github.com/pallets/click/
13Project-URL: Issue Tracker, https://github.com/pallets/click/issues/
14Project-URL: Chat, https://discord.gg/pallets
15Classifier: Development Status :: 5 - Production/Stable
16Classifier: Intended Audience :: Developers
17Classifier: License :: OSI Approved :: BSD License
18Classifier: Operating System :: OS Independent
19Classifier: Programming Language :: Python
20Requires-Python: >=3.7
21Description-Content-Type: text/x-rst
22License-File: LICENSE.rst
23Requires-Dist: colorama ; platform_system == "Windows"
24Requires-Dist: importlib-metadata ; python_version < "3.8"
25
26\$ click\_
27==========
28
29Click is a Python package for creating beautiful command line interfaces
30in a composable way with as little code as necessary. It's the "Command
31Line Interface Creation Kit". It's highly configurable but comes with
32sensible defaults out of the box.
33
34It aims to make the process of writing command line tools quick and fun
35while also preventing any frustration caused by the inability to
36implement an intended CLI API.
37
38Click in three points:
39
40- Arbitrary nesting of commands
41- Automatic help page generation
42- Supports lazy loading of subcommands at runtime
43
44
45Installing
46----------
47
48Install and update using `pip`_:
49
50.. code-block:: text
51
52 $ pip install -U click
53
54.. _pip: https://pip.pypa.io/en/stable/getting-started/
55
56
57A Simple Example
58----------------
59
60.. code-block:: python
61
62 import click
63
64 @click.command()
65 @click.option("--count", default=1, help="Number of greetings.")
66 @click.option("--name", prompt="Your name", help="The person to greet.")
67 def hello(count, name):
68 """Simple program that greets NAME for a total of COUNT times."""
69 for _ in range(count):
70 click.echo(f"Hello, {name}!")
71
72 if __name__ == '__main__':
73 hello()
74
75.. code-block:: text
76
77 $ python hello.py --count=3
78 Your name: Click
79 Hello, Click!
80 Hello, Click!
81 Hello, Click!
82
83
84Donate
85------
86
87The Pallets organization develops and supports Click and other popular
88packages. In order to grow the community of contributors and users, and
89allow the maintainers to devote more time to the projects, `please
90donate today`_.
91
92.. _please donate today: https://palletsprojects.com/donate
93
94
95Links
96-----
97
98- Documentation: https://click.palletsprojects.com/
99- Changes: https://click.palletsprojects.com/changes/
100- PyPI Releases: https://pypi.org/project/click/
101- Source Code: https://github.com/pallets/click
102- Issue Tracker: https://github.com/pallets/click/issues
103- Chat: https://discord.gg/pallets