aiter-0.13.20191203
توضیحات
Useful patterns building upon asynchronous iterators.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aiter-0.13.20191203 |
| نام | aiter |
| نسخه کتابخانه | 0.13.20191203 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Richard Kiss |
| ایمیل نویسنده | him@richardkiss.com |
| آدرس صفحه اصلی | https://github.com/richardkiss/aiter |
| آدرس اینترنتی | https://pypi.org/project/aiter/ |
| مجوز | http://opensource.org/licenses/MIT |
[](https://travis-ci.org/richardkiss/aiter)
[](https://codecov.io/github/richardkiss/aiter)
[](https://aiter.readthedocs.io/en/latest/?badge=latest)
aiter -- Asynchronous Iterator Patterns
=======================================
[PEP 525](https://www.python.org/dev/peps/pep-0525/) describes *asynchronous iterators*, a merging of iterators with async functionality. Python 3.6 makes legal constructs such as
```
async for event in peer.event_iterator:
await process_event(event)
```
which is a huge improvement over using `async.Queue` objects which have no built-in way to determine "end-of-stream" conditions.
This module implements some patterns useful for python asynchronous iterators.
Documentation available on [readthedocs.io](https://aiter.readthedocs.io/).
A [tutorial](TUTORIAL.org) is available. [github version](https://github.com/richardkiss/aiter/blob/feature/tutorial/TUTORIAL.org)
*CAVEAT* This project is still in its infancy, and I reserve the right to rename things and cause other breaking changes.
نحوه نصب
نصب پکیج whl aiter-0.13.20191203:
pip install aiter-0.13.20191203.whl
نصب پکیج tar.gz aiter-0.13.20191203:
pip install aiter-0.13.20191203.tar.gz