asyncio-queue-rotation-0.1.0
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | asyncio-queue-rotation-0.1.0 |
| نام | asyncio-queue-rotation |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | und3v3l0p3d |
| ایمیل نویسنده | prohibitme@phygitalism.com |
| آدرس صفحه اصلی | https://github.com/und3v3l0p3d/asyncio-rotation |
| آدرس اینترنتی | https://pypi.org/project/asyncio-queue-rotation/ |
| مجوز | MIT |
# asyncio rotation queue
based on [asyncio.Queue](https://docs.python.org/3/library/asyncio-queue.html)
On put( element )
if qsize() >= maxsize
first element popped out and put elements added to back of queue
```python
from asyncio_queue_rotation import RotationQueue
rotation_queue = RotationQueue(10)
await rotation_queue.put(1)
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9,<4.0 | Python |
نحوه نصب
نصب پکیج whl asyncio-queue-rotation-0.1.0:
pip install asyncio-queue-rotation-0.1.0.whl
نصب پکیج tar.gz asyncio-queue-rotation-0.1.0:
pip install asyncio-queue-rotation-0.1.0.tar.gz