easyTX-2.0
توضیحات
Module to exchange data in any form (video or string) from one PC to another over the same network.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | easyTX-2.0 |
| نام | easyTX |
| نسخه کتابخانه | 2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | VDHARV |
| ایمیل نویسنده | vdharv4bharat@gmail.com |
| آدرس صفحه اصلی | https://github.com/VDHARV/easyTX-2.0 |
| آدرس اینترنتی | https://pypi.org/project/easyTX/ |
| مجوز | MIT |
# easyTX 2.0
- "easyTX" 2.0 is the ultimate module to exchange data in any form (video or string) from one PC to another.
- It works on the basis of udp broadcasting.
- The Server has the data that is continuously shared on the LAN.
- Any number of Clients can access the data from the Server.
Installation
============
```shell
pip install easyTX
```
The following convention is used here:
* the server is transmitting data
* the client is receiving data
Usage
============
##### server.py
from easyTX import Server
socket = Server(5000)
socket.conn()
socket.send_frame()
##### client.py
from easyTX import Client
import cv2
socket = Client(5000)
socket.conn()
while True:
frame = socket.recv_frame()
cv2.imshow('frame', frame)
if cv2.waitKey(1) & 0xFF == ord('q'):
print('Disconnecting..')
break
نحوه نصب
نصب پکیج whl easyTX-2.0:
pip install easyTX-2.0.whl
نصب پکیج tar.gz easyTX-2.0:
pip install easyTX-2.0.tar.gz