FreeBSD.software
Home/www/py311-aiostream

py311-aiostream

0.7.1

Generator-based operators for asynchronous iteration

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 +

Origin: www/py-aiostream
Category: www
Size: 444KiB
License: GPLv3
Maintainer: sunpoet@FreeBSD.org
Dependencies: 2 packages
Required by: 1 packages
$pkg install py311-aiostream

Dependencies (2)

Required By (1 packages)

More in www