aioeventlet-0.5.1
توضیحات
asyncio event loop scheduling callbacks in eventlet.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aioeventlet-0.5.1 |
| نام | aioeventlet |
| نسخه کتابخانه | 0.5.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Victor Stinner |
| ایمیل نویسنده | victor.stinner@gmail.com |
| آدرس صفحه اصلی | http://aioeventlet.readthedocs.org/ |
| آدرس اینترنتی | https://pypi.org/project/aioeventlet/ |
| مجوز | Apache License 2.0 |
aioeventlet implements the asyncio API (PEP 3156) on top of eventlet. It makes
possible to write asyncio code in a project currently written for eventlet.
aioeventlet allows to use greenthreads in asyncio coroutines, and to use
asyncio coroutines, tasks and futures in greenthreads: see ``link_future()``
and ``wrap_greenthread()`` functions.
The main visible difference between aioeventlet and trollius is the behaviour
of ``run_forever()``: ``run_forever()`` blocks with trollius, whereas it runs
in a greenthread with aioeventlet. It means that aioeventlet event loop can run
in an greenthread while the Python main thread runs other greenthreads in
parallel.
* `aioeventlet documentation <http://aioeventlet.readthedocs.org/>`_
* `aioeventlet project in the Python Cheeseshop (PyPI)
<https://pypi.python.org/pypi/aioeventlet>`_
* `aioeventlet project at Bitbucket <https://bitbucket.org/haypo/aioeventlet>`_
* Copyright/license: Open source, Apache 2.0. Enjoy!
نحوه نصب
نصب پکیج whl aioeventlet-0.5.1:
pip install aioeventlet-0.5.1.whl
نصب پکیج tar.gz aioeventlet-0.5.1:
pip install aioeventlet-0.5.1.tar.gz