Client Server implementation made with zmq
Project description
zmqcs
zmqcs
is apython package that implements a client server infrastructure based on the zeromq library. To do so it fixes some properties:
- There are 2 types of concurrent communications:
- Request - response: Used to send commands from the client to the server. Server always answer when the command has finished. Is up to the developer to let the answer return before ending the comand in case the command is takes long to execute.
- Pub - Sub: The server has the ability to send packages to the client with data. The client has to subscribe to the topics he wants to receive data and define a callback to be executed every time data is received for that topic
A full detailed example on how to use the library can be found at https://github.com/IFAEControl/zmqCSExample
All the packages are JSON formatted.
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
zmqcs-0.1.1.tar.gz
(12.2 kB
view details)
Built Distribution
zmqcs-0.1.1-py3-none-any.whl
(15.3 kB
view details)
File details
Details for the file zmqcs-0.1.1.tar.gz
.
File metadata
- Download URL: zmqcs-0.1.1.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 168a851ce9f882f6e8b0c6e719fc702c504ae76d8f140e5937bf563ff85177cd |
|
MD5 | cf37b8ede7cb6b606ee6ee0b02a5976f |
|
BLAKE2b-256 | 0132148cf73622ea0a8dc88a21e8d67f48f58bb47b78ea7bce550691db4a8167 |
File details
Details for the file zmqcs-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: zmqcs-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ab5c75227f3b0d918ae7c4a59a15193cd53fe5a14ca32124bddbbdef3ebd513 |
|
MD5 | d75e3b1a44c52ce4f4ee668b658b43f9 |
|
BLAKE2b-256 | bee5424df38e277a841ce33a839a55d67c7491133c60ae9889df02a75d1d8fa4 |