Skip to main content

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aioeventlet-0.5.2.tar.gz (62.4 kB view details)

Uploaded Source

File details

Details for the file aioeventlet-0.5.2.tar.gz.

File metadata

  • Download URL: aioeventlet-0.5.2.tar.gz
  • Upload date:
  • Size: 62.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for aioeventlet-0.5.2.tar.gz
Algorithm Hash digest
SHA256 cecb51ea220209e33b53cfb95124d90e4fcbee3ff8ba8a179a57120b8624b16a
MD5 572161de7277cbad0dd21c028e7d01ac
BLAKE2b-256 ee1a1573ef35a49bfe0144a98a9bdd40ac5a692e9a117ac8735e682e03dc39ce

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page