Skip to main content

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


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

Uploaded Source

Built Distribution

zmqcs-0.1.1-py3-none-any.whl (15.3 kB view hashes)

Uploaded Python 3

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