asyncio event loop scheduling callbacks in eventlet.
Project description
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
- aioeventlet project in the Python Cheeseshop (PyPI)
- aioeventlet project at Bitbucket
- Copyright/license: Open source, Apache 2.0. Enjoy!
Project details
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size & hash SHA256 hash help | File type | Python version | Upload date |
---|---|---|---|
aioeventlet-0.5.2.tar.gz (62.4 kB) Copy SHA256 hash SHA256 | Source | None |