{ "info": { "author": "Matthias Urlichs", "author_email": "matthias@urlichs.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "asyncclick\n==========\n\nWhat's AsyncClick?\n------------------\n\nAsyncClick ist a fork of Click that works well with trio, asyncio, or\ncurio.\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\nAsyncClick in four points:\n\n- Arbitrary nesting of commands\n- Automatic help page generation\n- Supports lazy loading of subcommands at runtime\n- Seamlessly use async-enabled command and subcommand handlers\n\nInstalling\n----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n $ pip install asyncclick\n\nAsyncClick supports Python 3.5 and newer, and PyPy3.\n\n.. _pip: https://pip.pypa.io/en/stable/quickstart/\n\nA Simple Example\n----------------\n\nWhat does it look like? Here is an example of a simple Click program:\n\n.. code-block:: python\n\n import anyio\n import asyncclick as click\n \n @click.command()\n @click.option(\"--count\", default=1, help=\"Number of greetings.\")\n @click.option(\"--name\", prompt=\"Your name\",\n help=\"The person to greet.\")\n async def hello(count, name):\n \"\"\"Simple program that greets NAME for a total of COUNT times.\"\"\"\n for x in range(count):\n if x: await anyio.sleep(0.1)\n click.echo(\"Hello, %s!\" % name)\n \n if __name__ == '__main__':\n hello(_anyio_backend=\"trio\") # or asyncio, or curio\n\n.. note::\n AsyncClick automagically starts an anyio event loop and runs your\n code asynchronously.\n\nAnd what it looks like when run:\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\nThe AsyncClick fork is maintained by Matthias Urlichs .\nIt's not a lot of work, so if you'd like to motivate me, donate to the\ncharity of your choice and tell me that you've done so. ;-)\n\nLinks\n-----\n\nThese links point to the original, non-async-enabled, version of ``Click``.\n\n* Website: https://palletsprojects.com/p/click/\n* Documentation: https://click.palletsprojects.com/\n* License: `BSD `_\n* Releases: https://pypi.org/project/click/\n* Code: https://github.com/pallets/click\n* Issue tracker: https://github.com/pallets/click/issues\n* Test status:\n\n * Linux, Mac: https://travis-ci.org/pallets/click\n * Windows: https://ci.appveyor.com/project/pallets/click\n\n* Test coverage: https://codecov.io/gh/pallets/click\n\nThe issue tracker for the async version is at https://github.com/click-contrib/asyncclick/issues .\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/python-trio/asyncclick", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "asyncclick", "package_url": "https://pypi.org/project/asyncclick/", "platform": "", "project_url": "https://pypi.org/project/asyncclick/", "project_urls": { "Homepage": "http://github.com/python-trio/asyncclick" }, "release_url": "https://pypi.org/project/asyncclick/7.0.9/", "requires_dist": null, "requires_python": "", "summary": "A simple anyio-compatible fork of Click, for powerful command line utilities.", "version": "7.0.9" }, "last_serial": 5943547, "releases": { "7.0.3": [ { "comment_text": "", "digests": { "md5": "01791ce3b1d3e1cd77cbc3eb0c15ea17", "sha256": "00399243ab25959c9dc87a4f55c1ad2abeb5976d72144b9d5221d7c4c3ec4342" }, "downloads": -1, "filename": "asyncclick-7.0.3.tar.gz", "has_sig": false, "md5_digest": "01791ce3b1d3e1cd77cbc3eb0c15ea17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 357533, "upload_time": "2019-08-27T16:30:04", "url": "https://files.pythonhosted.org/packages/68/4a/278d5f8e0b817b8b6248c64b98cf18c8380179c135f9f6fbae6f2b2fc857/asyncclick-7.0.3.tar.gz" } ], "7.0.8": [ { "comment_text": "", "digests": { "md5": "bad6677a15699d2765cca952b49828b1", "sha256": "6bab181d1bea7ee4e0e92d68ec9ee2e5a78941c6ce22c1aafdd57492618aa480" }, "downloads": -1, "filename": "asyncclick-7.0.8.tar.gz", "has_sig": false, "md5_digest": "bad6677a15699d2765cca952b49828b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 357550, "upload_time": "2019-08-27T16:31:21", "url": "https://files.pythonhosted.org/packages/25/0e/5b8d93bab5028fbcdd5287fb436a9c325478398e0408b2d821ae69d68723/asyncclick-7.0.8.tar.gz" } ], "7.0.9": [ { "comment_text": "", "digests": { "md5": "14ba5743bed96acbd32ddcddb2e98722", "sha256": "62cebf3eca36d973802e2dd521ca1db11c5bf4544e9795e093d1a53cb688a8c2" }, "downloads": -1, "filename": "asyncclick-7.0.9.tar.gz", "has_sig": false, "md5_digest": "14ba5743bed96acbd32ddcddb2e98722", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 357738, "upload_time": "2019-10-08T08:17:07", "url": "https://files.pythonhosted.org/packages/06/38/fecc4a38d972690bd941f9d525f07f4f3b15e45c024beaa9e9a946061d1a/asyncclick-7.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "14ba5743bed96acbd32ddcddb2e98722", "sha256": "62cebf3eca36d973802e2dd521ca1db11c5bf4544e9795e093d1a53cb688a8c2" }, "downloads": -1, "filename": "asyncclick-7.0.9.tar.gz", "has_sig": false, "md5_digest": "14ba5743bed96acbd32ddcddb2e98722", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 357738, "upload_time": "2019-10-08T08:17:07", "url": "https://files.pythonhosted.org/packages/06/38/fecc4a38d972690bd941f9d525f07f4f3b15e45c024beaa9e9a946061d1a/asyncclick-7.0.9.tar.gz" } ] }