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.
Copyright/license: Open source, Apache 2.0. Enjoy!
Metadata
Release files for aioeventlet 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aioeventlet-0.5.2.tar.gz | 62.4 kB | Details |
Release files / aioeventlet-0.5.2.tar.gz
| Download URL | aioeventlet-0.5.2.tar.gz |
|---|---|
| Size | 62.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cecb51ea220209e33b53cfb95124d90e4fcbee3ff8ba8a179a57120b8624b16a
|
|
BLAKE2b-256 checksum How to use checksums |
ee1a1573ef35a49bfe0144a98a9bdd40ac5a692e9a117ac8735e682e03dc39ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |