python-aiostream
Port variant v13
Summary Asynchronous iteration operators (3.13)
BROKEN
Package version 0.6.4
Homepage https://github.com/vxgmichel/aiostream
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v12
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 11 NOV 2024, 23:28:05 UTC
Port created 10 DEC 2022, 14:08:04 UTC
Subpackage Descriptions
single aiostream ========= |docs-badge| |cov-badge| |ci-badge| |version-badge| |pyversion-badge| Generator-based operators for asynchronous iteration Synopsis -------- 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 ``+`` Stream operators ---------------- The `stream operators`_ are separated in 7 categories: +--------------------+---------------------------------------------------------------------------------------+ | **creation** | iterate_, preserve_, just_, call_, empty_, throw_, never_, repeat_, count_, range_ | +--------------------+---------------------------------------------------------------------------------------+ | **transformation** | map_, enumerate_, starmap_, cycle_, chunks_ | +--------------------+---------------------------------------------------------------------------------------+ | **selection** | take_, takelast_, skip_, skiplast_, getitem_, filter_, until_, takewhile_, dropwhile_ | +--------------------+---------------------------------------------------------------------------------------+ | **combination** | map_, zip_, merge_, chain_, ziplatest_ | +--------------------+---------------------------------------------------------------------------------------+ | **aggregation** | accumulate_, reduce_, list_ | +--------------------+---------------------------------------------------------------------------------------+ | **advanced** | concat_, flatten_, switch_, concatmap_, flatmap_, switchmap_ | +--------------------+---------------------------------------------------------------------------------------+ | **timing** | spaceout_, timeout_, delay_ | +--------------------+---------------------------------------------------------------------------------------+ | **miscellaneous** | action_, print_ | +--------------------+---------------------------------------------------------------------------------------+ Demonstration ------------- The following example demonstrates most of the streams capabilities: :alt: :alt: :alt: :alt: :alt:
Configuration Switches (platform-specific settings discarded)
PY312 OFF Build using Python 3.12 PY313 ON Build using Python 3.13
Package Dependencies by Type
Build (only) python313:dev:std
python-pip:single:v13
autoselect-python:single:std
Build and Runtime python313:primary:std
Runtime (only) python-typing-extensions:single:v13
Download groups
main mirror://PYPIWHL/71/5c/639dc59441df1d5cec49a09c36eb89af651476760f950b7d018bdf0ec4a7
Distribution File Information
bd8c6a8b90a52c0325a3b19406f0f2a131448e596c06398886f5be1c73b4cea9 53665 aiostream-0.6.4-py3-none-any.whl
Ports that require python-aiostream:v13
python-vdirsyncer:v13 Synchronize calendars and contacts (3.13)