ZMQ based microservice communications library
Two transports are supported: ipc (though IPCEndpoint, using the following path as default: /tmp/jack.plug), and tcp (TCPEndpoint, using 3559 as the default port number).
Install pyenv (optional):
$ brew install pyenv
Create a new python virtualenv (optional):
$ pyenv install 3.8.5 $ pyenv virtualenv 3.8.5 jackplug $ pyenv activate jackplug
Install python requirements:
$ pip install -r requirements.txt
An example of the use of this library can be found on the examples folder, and running them is pretty straightforward:
Run examples/jack.py and examples/plug.py, in different terminals. You should set the same transport argument on both of them (ipc or tcp).
$ python examples/jack.py ipc
$ python examples/plug.py ipc