aio-rmq-wss-proxy-0.0.3
توضیحات
Asynchronous Proxy Server From RabbitMQ to WebSocket
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aio-rmq-wss-proxy-0.0.3 |
| نام | aio-rmq-wss-proxy |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | GagramanyantsA |
| ایمیل نویسنده | arthur_gm@mail.ru |
| آدرس صفحه اصلی | https://github.com/GagramanyantsA/aio_rmq_wss_proxy |
| آدرس اینترنتی | https://pypi.org/project/aio-rmq-wss-proxy/ |
| مجوز | - |
## Asynchronous RMQ -> Websocket Proxy Server
Here is an implementation of typical websocket server which receives messages from RMQ and process them and send to connected websocket clients
In the current state WS server is capable of:
- Running a server instance which accepts websocket connections from clients and control them;
- connecting to RabbitMQ, creating Exchange and Queue and consume on it;
- receiving messages from RMQ Queue;
- processing received RMQ messages and send them to connected websocket clients.
## Struct
<img src="project_struct.jpg">
## Pip
- pip install aio-rmq-wss-proxy
## Source
- Clone repository
- Run "cd aio_rmq_wss_proxy/"
- Run "make install"
- Run the commands "make run_server" & "make run_client" to see how does it works
Please, note that before running server and client you need to have installed and running Rabbit MQ broker.
This is how it works from the box.
## Customization
You can see the "public_sample" in "_testing/public_sample" directory and use it for build your own proxy server
نیازمندی
| مقدار | نام |
|---|---|
| ==8.3.0 | aio-pika |
| ==10.4 | websockets |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl aio-rmq-wss-proxy-0.0.3:
pip install aio-rmq-wss-proxy-0.0.3.whl
نصب پکیج tar.gz aio-rmq-wss-proxy-0.0.3:
pip install aio-rmq-wss-proxy-0.0.3.tar.gz