Skip to main content

Create asynchronous generators from coroutines

Project description

Alternator provides tools to ease the creation of asynchronous generators.

Synchronous generators are pretty easy to create and manipulate in Python. In Python 3.5 asynchronous generators are possible. Consuming them with async for is pretty nice, but creating them is a fairly manual process.

Maybe a future version of Python will correct this imbalance.

Or maybe we can fix it with TOOLS!

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

alternator-0.1.1.tar.gz (5.1 kB view hashes)

Uploaded Source

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