rpc over redis 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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pyredisrpc-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8458ad165b02500f1cde46babfccd30c5cd1405e2dcdd1efcfbc9792a5b67cdb |
|
MD5 | 165591d6af80ae84cdcf72404ccf616c |
|
BLAKE2b-256 | f5c0dfafe4c390be68737272fd9fbb9663cda1487a34b011c057e526137a1be5 |