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 details)

Uploaded Source

File details

Details for the file easyTX-2.0.tar.gz.

File metadata

  • Download URL: easyTX-2.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for easyTX-2.0.tar.gz
Algorithm Hash digest
SHA256 128df84409fa9ab0b5233c3f00d76b47203ee61275c740972a52a7066e721e55
MD5 25a3ea993f2e4f05cb5c55bd49211061
BLAKE2b-256 c4bc07d4f270740d17865abdec0c92ef3aaa6f40ec2c5fe3fe276216d555ff28

See more details on using hashes here.

Supported by

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