Mercurial > repos > shellac > sam_consensus_v3
comparison env/lib/python3.9/site-packages/click-7.1.2.dist-info/METADATA @ 0:4f3585e2f14b draft default tip
"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
| author | shellac |
|---|---|
| date | Mon, 22 Mar 2021 18:12:50 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:4f3585e2f14b |
|---|---|
| 1 Metadata-Version: 2.1 | |
| 2 Name: click | |
| 3 Version: 7.1.2 | |
| 4 Summary: Composable command line interface toolkit | |
| 5 Home-page: https://palletsprojects.com/p/click/ | |
| 6 Maintainer: Pallets | |
| 7 Maintainer-email: contact@palletsprojects.com | |
| 8 License: BSD-3-Clause | |
| 9 Project-URL: Documentation, https://click.palletsprojects.com/ | |
| 10 Project-URL: Code, https://github.com/pallets/click | |
| 11 Project-URL: Issue tracker, https://github.com/pallets/click/issues | |
| 12 Platform: UNKNOWN | |
| 13 Classifier: Development Status :: 5 - Production/Stable | |
| 14 Classifier: Intended Audience :: Developers | |
| 15 Classifier: License :: OSI Approved :: BSD License | |
| 16 Classifier: Operating System :: OS Independent | |
| 17 Classifier: Programming Language :: Python | |
| 18 Classifier: Programming Language :: Python :: 2 | |
| 19 Classifier: Programming Language :: Python :: 3 | |
| 20 Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.* | |
| 21 | |
| 22 \$ click\_ | |
| 23 ========== | |
| 24 | |
| 25 Click is a Python package for creating beautiful command line interfaces | |
| 26 in a composable way with as little code as necessary. It's the "Command | |
| 27 Line Interface Creation Kit". It's highly configurable but comes with | |
| 28 sensible defaults out of the box. | |
| 29 | |
| 30 It aims to make the process of writing command line tools quick and fun | |
| 31 while also preventing any frustration caused by the inability to | |
| 32 implement an intended CLI API. | |
| 33 | |
| 34 Click in three points: | |
| 35 | |
| 36 - Arbitrary nesting of commands | |
| 37 - Automatic help page generation | |
| 38 - Supports lazy loading of subcommands at runtime | |
| 39 | |
| 40 | |
| 41 Installing | |
| 42 ---------- | |
| 43 | |
| 44 Install and update using `pip`_: | |
| 45 | |
| 46 .. code-block:: text | |
| 47 | |
| 48 $ pip install -U click | |
| 49 | |
| 50 .. _pip: https://pip.pypa.io/en/stable/quickstart/ | |
| 51 | |
| 52 | |
| 53 A Simple Example | |
| 54 ---------------- | |
| 55 | |
| 56 .. code-block:: python | |
| 57 | |
| 58 import click | |
| 59 | |
| 60 @click.command() | |
| 61 @click.option("--count", default=1, help="Number of greetings.") | |
| 62 @click.option("--name", prompt="Your name", help="The person to greet.") | |
| 63 def hello(count, name): | |
| 64 """Simple program that greets NAME for a total of COUNT times.""" | |
| 65 for _ in range(count): | |
| 66 click.echo(f"Hello, {name}!") | |
| 67 | |
| 68 if __name__ == '__main__': | |
| 69 hello() | |
| 70 | |
| 71 .. code-block:: text | |
| 72 | |
| 73 $ python hello.py --count=3 | |
| 74 Your name: Click | |
| 75 Hello, Click! | |
| 76 Hello, Click! | |
| 77 Hello, Click! | |
| 78 | |
| 79 | |
| 80 Donate | |
| 81 ------ | |
| 82 | |
| 83 The Pallets organization develops and supports Click and other popular | |
| 84 packages. In order to grow the community of contributors and users, and | |
| 85 allow the maintainers to devote more time to the projects, `please | |
| 86 donate today`_. | |
| 87 | |
| 88 .. _please donate today: https://palletsprojects.com/donate | |
| 89 | |
| 90 | |
| 91 Links | |
| 92 ----- | |
| 93 | |
| 94 - Website: https://palletsprojects.com/p/click/ | |
| 95 - Documentation: https://click.palletsprojects.com/ | |
| 96 - Releases: https://pypi.org/project/click/ | |
| 97 - Code: https://github.com/pallets/click | |
| 98 - Issue tracker: https://github.com/pallets/click/issues | |
| 99 - Test status: https://dev.azure.com/pallets/click/_build | |
| 100 - Official chat: https://discord.gg/t6rrQZH | |
| 101 | |
| 102 |
