asyncio-multisubscriber-queue-0.4.1
توضیحات
Allow a single producer to provide the same payload to multiple consumers simultaneously
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | asyncio-multisubscriber-queue-0.4.1 |
| نام | asyncio-multisubscriber-queue |
| نسخه کتابخانه | 0.4.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Kyle Smith |
| ایمیل نویسنده | smithk86@smc3.com |
| آدرس صفحه اصلی | https://github.com/smithk86/asyncio-multisubscriber-queue |
| آدرس اینترنتی | https://pypi.org/project/asyncio-multisubscriber-queue/ |
| مجوز | MIT |
# asyncio-multisubscriber-queue
[](https://pypi.org/project/asyncio-multisubscriber-queue/)
[](https://pypi.org/project/asyncio-multisubscriber-queue/)
[](https://opensource.org/licenses/MIT)
[](https://github.com/smithk86/asyncio-multisubscriber-queue/actions?query=workflow%3Apytest)
[](https://github.com/psf/black)
## Usage
MultisubscriberQueue allows a single producer to provide the same payload to multiple consumers simultaneously. An asyncio.Queue is created for each consumer and each call to MultisubscriberQueue.put() iterates over each asyncio.Queue and puts the payload on each queue.
Please see [example.py](https://github.com/smithk86/asyncio-multisubscriber-queue/blob/master/example.py) for a simple example.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10,<4 | Python |
نحوه نصب
نصب پکیج whl asyncio-multisubscriber-queue-0.4.1:
pip install asyncio-multisubscriber-queue-0.4.1.whl
نصب پکیج tar.gz asyncio-multisubscriber-queue-0.4.1:
pip install asyncio-multisubscriber-queue-0.4.1.tar.gz