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 details)

Uploaded Source

File details

Details for the file alternator-0.1.1.tar.gz.

File metadata

  • Download URL: alternator-0.1.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for alternator-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f0c7bdff179513d21f91b99b7df15f5026c7c03b1884ff1a0f8c3194dd2372ff
MD5 830b1013028e382e7e1522c511e898ba
BLAKE2b-256 c182624b2a2975ed5e55fbd0af4d9625d820b696fa1efb1f170cb1a3e6ee5204

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