Path to this page:
./
devel/py-aiostream,
Generator-based operators for asynchronous iteration
Branch: pkgsrc-2022Q4,
Version: 0.4.5,
Package name: py310-aiostream-0.4.5,
Maintainer: pkgsrc-usersaiostream 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)
- (2022-12-27) Package added to pkgsrc.se, version py310-aiostream-0.4.5 (created)