Python ZMQ Client/Server Wrapper
Project description
zmq_client_server
A simple Server and Client wrapper for ZMQ Python.
Builds on top of zmq
, zmq.asyncio
to support an asynchronous server, and a synchronous client.
Both Server and Client supports the Request-Reply, Push-Pull, and Publish-Subscribe message patterns.
Basic Usage
ZmqClient
from zmq_python import ZmqClient
client = ZmqClient(
sub_ip = "<pubsub_socket_ip>",
push_ip = "<pushpull_socket_ip>",
req_ip = "<requestreply_socket_ip>"
)
ZmqServer
from zmq_python import ZmqServer
client = ZmqServer(
pub_ip = "<pubsub_socket_ip>",
pull_ip = "<pushpull_socket_ip>",
rep_ip = "<requestreply_socket_ip>"
)
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file zmq_client_server-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: zmq_client_server-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.0b5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b25fd50d573e5abc3930898d6a3d19632892ca0f52d08d73bc5794d7da11223a |
|
MD5 | 67bac0b88cd57e8a8fe8cffe18cf7aa0 |
|
BLAKE2b-256 | aee8a592c2fbe9e37310f28852664348d41f10b31ef6b42b2416d05cde5e37d3 |