Skip to main content

Useful patterns building upon asynchronous iterators.

Project description

Build Status codecov.io Documentation Status

aiter -- Asynchronous Iterator Patterns

PEP 525 describes asynchronous iterators, a merging of iterators with async functionality. Python 3.6 makes legal constructs such as

async for event in peer.event_iterator:
    await process_event(event)

which is a huge improvement over using async.Queue objects which have no built-in way to determine "end-of-stream" conditions.

This module implements some patterns useful for python asynchronous iterators.

Documentation available on readthedocs.io.

A tutorial is available. github version

CAVEAT This project is still in its infancy, and I reserve the right to rename things and cause other breaking changes.

Project details


Download files

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

Files for aiter, version 0.13.20191203
Filename, size File type Python version Upload date Hashes
Filename, size aiter-0.13.20191203.tar.gz (9.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page