{ "info": { "author": "Pawe\u0142 Zadro\u017cny", "author_email": "pawel.zny@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: AsyncIO", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "************\nContext loop\n************\n\n:Info: Context loop.\n:Author: Pawe\u0142 Zadro\u017cny @pawelzny \n\n\n.. image:: https://circleci.com/gh/pawelzny/context-loop.svg?style=shield&circle-token=9dfb6c240de494af453a2899a7cf6d66c51aa723\n :target: https://circleci.com/gh/pawelzny/context-loop\n :alt: CI Status\n\n.. image:: https://readthedocs.org/projects/context-loop/badge/?version=latest\n :target: http://context-loop.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://img.shields.io/pypi/v/context-loop.svg\n :target: https://pypi.org/project/context-loop/\n :alt: PyPI Repository Status\n\n.. image:: https://img.shields.io/github/release/pawelzny/context-loop.svg\n :target: https://github.com/pawelzny/context-loop\n :alt: Release Status\n\n.. image:: https://img.shields.io/pypi/status/context-loop.svg\n :target: https://pypi.org/project/context-loop/\n :alt: Project Status\n\n.. image:: https://img.shields.io/pypi/pyversions/context-loop.svg\n :target: https://pypi.org/project/context-loop/\n :alt: Supported python versions\n\n.. image:: https://img.shields.io/pypi/implementation/context-loop.svg\n :target: https://pypi.org/project/context-loop/\n :alt: Supported interpreters\n\n.. image:: https://img.shields.io/pypi/l/context-loop.svg\n :target: https://github.com/pawelzny/context-loop/blob/master/LICENSE\n :alt: License\n\n\nFeatures\n========\n\n* Work with sync and async frameworks\n* Schedule tasks to existing loop or create new one\n* No need to understand how async works\n* No callbacks required\n* Run async tasks whenever and wherever you want\n\n\nInstallation\n============\n\n.. code:: bash\n\n pip install context-loop\n\n\n**Package**: https://pypi.org/project/context-loop/\n\n\nDocumentation\n=============\n\nRead full documentation at http://context-loop.readthedocs.io/en/stable/\n\n\nQuick Example\n=============\n\n.. code:: python\n\n >>> async def coro():\n ... return await something_from_future()\n ...\n >>> import cl.Loop\n >>> with cl.Loop(coro(), coro(), coro()) as loop:\n ... result = loop.run_until_complete()\n ...\n >>> result\n ['success', 'success', 'success']", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pawelzny/context-loop", "keywords": "context,manager,asyncio,event,loop,utility", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "context-loop", "package_url": "https://pypi.org/project/context-loop/", "platform": "", "project_url": "https://pypi.org/project/context-loop/", "project_urls": { "Homepage": "https://github.com/pawelzny/context-loop" }, "release_url": "https://pypi.org/project/context-loop/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Context manager for asyncio event loop.", "version": "0.1.1" }, "last_serial": 3682910, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b61fdfdaf6fa6e85707cfee207016891", "sha256": "ddf487d1b49864881d5c4b977f01c881e3f57c8f9050a021c8912910fcab71ca" }, "downloads": -1, "filename": "context-loop-0.1.0.tar.gz", "has_sig": true, "md5_digest": "b61fdfdaf6fa6e85707cfee207016891", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25445, "upload_time": "2018-03-18T11:09:43", "url": "https://files.pythonhosted.org/packages/13/2b/cccdcec2e98ec58cd7301581b78bf9028dcbfc55bd1784390112fc11b54c/context-loop-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "6919da3411a68413ff1ad97c0aab2003", "sha256": "ab8e33bb900dcc045fde017cd00d148071df6afa26c4272ffc78a06a294eb9a3" }, "downloads": -1, "filename": "context-loop-0.1.1.tar.gz", "has_sig": true, "md5_digest": "6919da3411a68413ff1ad97c0aab2003", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26232, "upload_time": "2018-03-19T07:32:53", "url": "https://files.pythonhosted.org/packages/67/ad/6d19f8beb6b57204c46686544652a939db33dd3974638062ac34be120a04/context-loop-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6919da3411a68413ff1ad97c0aab2003", "sha256": "ab8e33bb900dcc045fde017cd00d148071df6afa26c4272ffc78a06a294eb9a3" }, "downloads": -1, "filename": "context-loop-0.1.1.tar.gz", "has_sig": true, "md5_digest": "6919da3411a68413ff1ad97c0aab2003", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26232, "upload_time": "2018-03-19T07:32:53", "url": "https://files.pythonhosted.org/packages/67/ad/6d19f8beb6b57204c46686544652a939db33dd3974638062ac34be120a04/context-loop-0.1.1.tar.gz" } ] }