www/py-aiostream 0.8.1 FreeBSD
Generator-based operators for asynchronous iteration
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
72e034f06e- License
- GPLv3
- Categories
- www, python
- Package size
- 75.8 KiB, 426.7 KiB installed
Description
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 +
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-aiostream | 0.8.1 |
| DragonFly | www/py-aiostream | 0.6.4 |
| HardenedBSD | www/py-aiostream | 0.8.1 |
| GhostBSD | www/py-aiostream | 0.8.1 |
Install
Binary package:
pkg install py312-aiostream
From the ports tree:
cd /usr/ports/www/py-aiostream/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-aiostream>0:www/py-aiostream
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.8.1 | 0.8.1 | 0.4.5 | 0.7.0 | 0.8.1 |
| FreeBSD:14:quarterly | 0.8.1 | 0.8.1 | n/a | 0.7.0 | 0.8.1 |
| FreeBSD:15:latest | 0.8.1 | 0.8.1 | n/a | 0.7.0 | 0.7.0 |
| FreeBSD:15:quarterly | 0.8.1 | 0.8.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.8.1 | 0.8.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=61: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}typing-extensions>=0: devel/py-typing-extensions
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 8
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| aiostream-0.8.1.tar.gz | 45013 | 32d180b4ab01ebb2fc59eda7fa59f496895a4d07b32fc57537d1dade2514a8a1 |
Master sites 1
- PYPI