Name | click-hotoffthehamster JSON |
Version |
7.8.4
JSON |
| download |
home_page | |
Summary | Composable command line interface toolkit |
upload_time | 2023-12-28 05:04:28 |
maintainer | Pallets |
docs_url | None |
author | Armin Ronacher |
requires_python | >=3.8.1,<4.0.0 |
license | BSD-3-Clause |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
\$ click\_
==========
.. CXREF:
https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge
.. image:: https://github.com/doblabs/click-hotoffthehamster/actions/workflows/checks-unspecial.yml/badge.svg?branch=release
:target: https://github.com/doblabs/click-hotoffthehamster/actions/workflows/checks-unspecial.yml/badge.svg?branch=release
:alt: Build Status
.. CXREF: https://app.codecov.io/github.com/doblabs/click-hotoffthehamster/settings/badge
.. image:: https://codecov.io/gh/doblabs/click-hotoffthehamster/branch/release/graph/badge.svg?token=by86aPAzDz
:target: https://app.codecov.io/gh/doblabs/click-hotoffthehamster
:alt: Coverage Status
.. image:: https://readthedocs.org/projects/click-hotoffthehamster/badge/?version=latest
:target: https://click-hotoffthehamster.readthedocs.io/en/latest/
:alt: Documentation Status
.. image:: https://img.shields.io/github/v/release/doblabs/click-hotoffthehamster.svg?style=flat
:target: https://github.com/doblabs/click-hotoffthehamster/releases
:alt: GitHub Release Status
.. image:: https://img.shields.io/pypi/v/click-hotoffthehamster.svg
:target: https://pypi.org/project/click-hotoffthehamster/
:alt: PyPI Release Status
.. image:: https://img.shields.io/pypi/pyversions/click-hotoffthehamster.svg
:target: https://pypi.org/project/click-hotoffthehamster/
:alt: PyPI Supported Python Versions
.. image:: https://img.shields.io/github/license/doblabs/click-hotoffthehamster.svg?style=flat
:target: https://github.com/doblabs/click-hotoffthehamster/blob/release/LICENSE
:alt: License Status
|
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/getting-started/
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
-----
- Documentation: https://click.palletsprojects.com/
- Changes: https://click.palletsprojects.com/changes/
- PyPI Releases: https://pypi.org/project/click/
- Source Code: https://github.com/pallets/click
- Issue Tracker: https://github.com/pallets/click/issues
- Chat: https://discord.gg/pallets
Raw data
{
"_id": null,
"home_page": "",
"name": "click-hotoffthehamster",
"maintainer": "Pallets",
"docs_url": null,
"requires_python": ">=3.8.1,<4.0.0",
"maintainer_email": "contact@palletsprojects.com",
"keywords": "",
"author": "Armin Ronacher",
"author_email": "armin.ronacher@active-4.com",
"download_url": "https://files.pythonhosted.org/packages/7a/7b/667741fa9d7d43e28acbf5a3a6285bd4adec711c94d75f42ae863addf69a/click_hotoffthehamster-7.8.4.tar.gz",
"platform": null,
"description": "\\$ click\\_\n==========\n\n.. CXREF:\n https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge\n\n.. image:: https://github.com/doblabs/click-hotoffthehamster/actions/workflows/checks-unspecial.yml/badge.svg?branch=release\n :target: https://github.com/doblabs/click-hotoffthehamster/actions/workflows/checks-unspecial.yml/badge.svg?branch=release\n :alt: Build Status\n\n.. CXREF: https://app.codecov.io/github.com/doblabs/click-hotoffthehamster/settings/badge\n\n.. image:: https://codecov.io/gh/doblabs/click-hotoffthehamster/branch/release/graph/badge.svg?token=by86aPAzDz\n :target: https://app.codecov.io/gh/doblabs/click-hotoffthehamster\n :alt: Coverage Status\n\n.. image:: https://readthedocs.org/projects/click-hotoffthehamster/badge/?version=latest\n :target: https://click-hotoffthehamster.readthedocs.io/en/latest/\n :alt: Documentation Status\n\n.. image:: https://img.shields.io/github/v/release/doblabs/click-hotoffthehamster.svg?style=flat\n :target: https://github.com/doblabs/click-hotoffthehamster/releases\n :alt: GitHub Release Status\n\n.. image:: https://img.shields.io/pypi/v/click-hotoffthehamster.svg\n :target: https://pypi.org/project/click-hotoffthehamster/\n :alt: PyPI Release Status\n\n.. image:: https://img.shields.io/pypi/pyversions/click-hotoffthehamster.svg\n :target: https://pypi.org/project/click-hotoffthehamster/\n :alt: PyPI Supported Python Versions\n\n.. image:: https://img.shields.io/github/license/doblabs/click-hotoffthehamster.svg?style=flat\n :target: https://github.com/doblabs/click-hotoffthehamster/blob/release/LICENSE\n :alt: License Status\n\n|\n\nClick is a Python package for creating beautiful command line interfaces\nin a composable way with as little code as necessary. It's the \"Command\nLine Interface Creation Kit\". It's highly configurable but comes with\nsensible defaults out of the box.\n\nIt aims to make the process of writing command line tools quick and fun\nwhile also preventing any frustration caused by the inability to\nimplement an intended CLI API.\n\nClick in three points:\n\n- Arbitrary nesting of commands\n- Automatic help page generation\n- Supports lazy loading of subcommands at runtime\n\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n $ pip install -U click\n\n.. _pip: https://pip.pypa.io/en/stable/getting-started/\n\n\nA Simple Example\n----------------\n\n.. code-block:: python\n\n import click\n\n @click.command()\n @click.option(\"--count\", default=1, help=\"Number of greetings.\")\n @click.option(\"--name\", prompt=\"Your name\", help=\"The person to greet.\")\n def hello(count, name):\n \"\"\"Simple program that greets NAME for a total of COUNT times.\"\"\"\n for _ in range(count):\n click.echo(f\"Hello, {name}!\")\n\n if __name__ == '__main__':\n hello()\n\n.. code-block:: text\n\n $ python hello.py --count=3\n Your name: Click\n Hello, Click!\n Hello, Click!\n Hello, Click!\n\n\nDonate\n------\n\nThe Pallets organization develops and supports Click and other popular\npackages. In order to grow the community of contributors and users, and\nallow the maintainers to devote more time to the projects, `please\ndonate today`_.\n\n.. _please donate today: https://palletsprojects.com/donate\n\n\nLinks\n-----\n\n- Documentation: https://click.palletsprojects.com/\n- Changes: https://click.palletsprojects.com/changes/\n- PyPI Releases: https://pypi.org/project/click/\n- Source Code: https://github.com/pallets/click\n- Issue Tracker: https://github.com/pallets/click/issues\n- Chat: https://discord.gg/pallets\n\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "Composable command line interface toolkit",
"version": "7.8.4",
"project_urls": {
"Changes": "https://click.palletsprojects.com/changes/",
"Chat": "https://discord.gg/pallets",
"Documentation": "https://click.palletsprojects.com/",
"Donate": "https://palletsprojects.com/donate",
"Issue Tracker": "https://github.com/pallets/click/issues/",
"Source Code": "https://github.com/pallets/click/",
"repository": "https://github.com/doblabs/click-hotoffthehamster#\ud83e\ude9d"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d57d4312912f4d68857dbd67aa76d06a9146ba9d64b30086cbbd1b47d75c8278",
"md5": "e8600cf6a976f2e1e0e25260d04e4c6d",
"sha256": "a1a90726b3ea4d2018f3f654a4cdadbe36f122b565db9edafeaf3fc30aeb297f"
},
"downloads": -1,
"filename": "click_hotoffthehamster-7.8.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e8600cf6a976f2e1e0e25260d04e4c6d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8.1,<4.0.0",
"size": 100947,
"upload_time": "2023-12-28T05:04:26",
"upload_time_iso_8601": "2023-12-28T05:04:26.699246Z",
"url": "https://files.pythonhosted.org/packages/d5/7d/4312912f4d68857dbd67aa76d06a9146ba9d64b30086cbbd1b47d75c8278/click_hotoffthehamster-7.8.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7a7b667741fa9d7d43e28acbf5a3a6285bd4adec711c94d75f42ae863addf69a",
"md5": "29dc020d83e4e18478c966066c79e8bb",
"sha256": "2bc509c4e14423fba1ac737d2b368001dbd664b1c15307e8c3a0ae30bac6f04f"
},
"downloads": -1,
"filename": "click_hotoffthehamster-7.8.4.tar.gz",
"has_sig": false,
"md5_digest": "29dc020d83e4e18478c966066c79e8bb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.1,<4.0.0",
"size": 102997,
"upload_time": "2023-12-28T05:04:28",
"upload_time_iso_8601": "2023-12-28T05:04:28.022526Z",
"url": "https://files.pythonhosted.org/packages/7a/7b/667741fa9d7d43e28acbf5a3a6285bd4adec711c94d75f42ae863addf69a/click_hotoffthehamster-7.8.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-28 05:04:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pallets",
"github_project": "click",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "click-hotoffthehamster"
}