Abstraction layer for Python Qt networks.
Project description
QtPyNetwork is a small abstraction layer for sending and receiving messages using TCP sockets.
There are two servers available:
QBalancedServer:
QThreadedServer
The first one has constant amount of threads. When new client connects, server checks which worker has the least amount of active sockets and passes socket descriptor to this thread. QThreadedServer creates new thread for each connected device.
QThreadedClient is socket client, that keeps socket in separate thread.
Features
every message write and read call is executed inside thread
signals for each event - connected, disconnected, error, etc.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for QtPyNetwork-0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e390ee729f5a1fc41c94a7c8b5d7b52bf406ff64d7a5f0dbf5a8406086efd44 |
|
MD5 | a9889e8cabefcec081828d17e0143936 |
|
BLAKE2b-256 | edb6127057b2947cfab9774a5d23292555e89abafcbc1f7bbcbced51cdf3f5d2 |