redis rpc for python
Project description
pyredisrpc
rpc over redis for python
install
pip install pyredisrpc
usage
server:
server = pyredisrpc.Server('test-queue')
@server.method
def add(a, b):
return a + b
server.run()
client:
client = pyredisrpc.Client('test-queue')
print(client.add(1, 2))
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
pyredisrpc-0.1.0.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for pyredisrpc-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6ed14d4258c3341b239c6cbdfb4f85b7783d6f02498e667ab45cab21aa35a7a |
|
MD5 | e24febddb24932035b51438c4d11e591 |
|
BLAKE2b-256 | 72fef3cb693d27dfc5d3e5a5c8c4481aadd9431972b6da62d0aafa3eca6fadcf |