./devel/py-aiostream, Generator-based operators for asynchronous iteration

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2022Q4, Version: 0.4.5, Package name: py310-aiostream-0.4.5, Maintainer: pkgsrc-users

aiostream provides a collection of stream operators that can be
combined to create asynchronous pipelines of operations.

It can be seen as an asynchronous version of itertools, although
some aspects are slightly different. Essentially, all the provided
operators return a unified interface called a stream. A stream is
an enhanced asynchronous iterable providing the following features:

* Operator pipe-lining - using pipe symbol |
* Repeatability - every iteration creates a different iterator
* Safe iteration context - using async with and the stream method
* Simplified execution - get the last element from a stream using await
* Slicing and indexing - using square brackets []
* Concatenation - using addition symbol +


Master sites:

Filesize: 31.862 KB

Version history: (Expand)