Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (50m)  pkgsrc-2024Q1 (9d)  pkgsrc-2023Q4 (56d)  pkgsrc-2023Q2 (88d)  pkgsrc-2023Q3 (168d) 

2024-05-26 19:57:13 UTC Now

2022-12-06 19:48:40 UTC MAIN commitmail json YAML

devel/py-aiostream: import py310-aiostream-0.4.5

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 +

(wiz)