This is the documentation for jarpc, a library for asynchronous RPC via Redis pubsub channels.
It supports 3 runmodes: Client, Server and Slient.
jarpc requires a Python version of 3.6 or higher.
Installation from PyPi:
pip install jarpc
You'll also need a working local installation of Redis.
Setup a quick Redis instance via Docker:
docker run --rm --name redis -d -p 6379:6379 redis:5.0.6-alpine
Client example
.. literalinclude:: ../examples/basic/client.py :language: python
Server example
.. literalinclude:: ../examples/basic/server.py :language: python
Slient example
.. literalinclude:: ../examples/basic/slient.py :language: python