azip-1.0.1
توضیحات
zip operator for async iterables
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | azip-1.0.1 |
| نام | azip |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Martin Zihlmann |
| ایمیل نویسنده | martizih@outlook.com |
| آدرس صفحه اصلی | https://gitlab.com/martizih/azip.git |
| آدرس اینترنتی | https://pypi.org/project/azip/ |
| مجوز | MIT |
# Asynchronous ZIP Operator
The `azip()` function takes both synchronous and asynchronous iterables (can be zero or more), awaits their results one-by-one and aggregates them into a tuple.
It stops if one of the iterators is exhausted. It waits for the next value of all iterators before yielding the tuple.
## Installation
```sh
python -m pip install azip
```
## Usage
```python
from azip.azip import azip
async for s, a in azip(sync_iter, async_iter):
print(s, a)
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3 | Python |
نحوه نصب
نصب پکیج whl azip-1.0.1:
pip install azip-1.0.1.whl
نصب پکیج tar.gz azip-1.0.1:
pip install azip-1.0.1.tar.gz