Skip to main content

Module to exchange data in any form (video or string) from one PC to another over the same network.

Project description

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easyTX-2.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page