{ "info": { "author": "sashgorokhov", "author_email": "sashgorokhov@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Topic :: Software Development" ], "description": "asyncio-contextmanager\n======================\n\n|PyPI version| |GitHub release| |Build Status| |codecov| |GitHub\nlicense|\n\nDecorator that turns async generator functions into async context\nmanagers.\n\nInstallation\n------------\n\nSupported versions of python: **``3.6+``** (since async generators were\nintroduced in python 3.6)\n\n.. code:: shell\n\n pip install asyncio-contextmanager\n\nUsage\n-----\n\nUsage is straightforward and simple:\n\n.. code:: python\n\n from aiocontext import async_contextmanager\n\n @async_contextmanager\n async def foo():\n yield 'Foo!'\n\n.. |PyPI version| image:: https://badge.fury.io/py/asyncio-contextmanager.svg\n :target: https://badge.fury.io/py/asyncio-contextmanager\n.. |GitHub release| image:: https://img.shields.io/github/release/sashgorokhov/asyncio-contextmanager.svg\n :target: https://github.com/sashgorokhov/asyncio-contextmanager\n.. |Build Status| image:: https://travis-ci.org/sashgorokhov/asyncio-contextmanager.svg?branch=master\n :target: https://travis-ci.org/sashgorokhov/asyncio-contextmanager\n.. |codecov| image:: https://codecov.io/gh/sashgorokhov/asyncio-contextmanager/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/sashgorokhov/asyncio-contextmanager\n.. |GitHub license| image:: https://img.shields.io/badge/license-MIT-blue.svg\n :target: https://raw.githubusercontent.com/sashgorokhov/asyncio-contextmanager/master/LICENSE", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/sashgorokhov/asyncio-contextmanager/archive/v1.0.1.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sashgorokhov/asyncio-contextmanager", "keywords": "python,asyncio", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "asyncio-contextmanager", "package_url": "https://pypi.org/project/asyncio-contextmanager/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/asyncio-contextmanager/", "project_urls": { "Download": "https://github.com/sashgorokhov/asyncio-contextmanager/archive/v1.0.1.zip", "Homepage": "https://github.com/sashgorokhov/asyncio-contextmanager" }, "release_url": "https://pypi.org/project/asyncio-contextmanager/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "Decorator that turns async generator functions into async context managers.", "version": "1.0.1" }, "last_serial": 2684048, "releases": { "1.0": [], "1.0.1": [ { "comment_text": "", "digests": { "md5": "c8ce0047d83dfcb6654debd8a434d7b7", "sha256": "93b4620cd79623c3988c9f43e6f502263968645cd13aed3327a7ec8be43221d5" }, "downloads": -1, "filename": "asyncio-contextmanager-1.0.1.tar.gz", "has_sig": false, "md5_digest": "c8ce0047d83dfcb6654debd8a434d7b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2145, "upload_time": "2017-03-05T16:13:06", "url": "https://files.pythonhosted.org/packages/06/d5/fd2ad931e9397c599c81a6a5284d24fa1135d16aac2cc312773b8e8a3828/asyncio-contextmanager-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c8ce0047d83dfcb6654debd8a434d7b7", "sha256": "93b4620cd79623c3988c9f43e6f502263968645cd13aed3327a7ec8be43221d5" }, "downloads": -1, "filename": "asyncio-contextmanager-1.0.1.tar.gz", "has_sig": false, "md5_digest": "c8ce0047d83dfcb6654debd8a434d7b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2145, "upload_time": "2017-03-05T16:13:06", "url": "https://files.pythonhosted.org/packages/06/d5/fd2ad931e9397c599c81a6a5284d24fa1135d16aac2cc312773b8e8a3828/asyncio-contextmanager-1.0.1.tar.gz" } ] }