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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page