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
File details
Details for the file pyredisrpc-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pyredisrpc-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
7c5da0cf1c72bb01593996b51980f4a5bec4a772903031728835565608770357
|
|
MD5 |
be965b80e69f5c599e88953a8570e3bb
|
|
BLAKE2b-256 |
f5a09c184f457df2849ea503e5fe0f6633603a577c568b6ff29c7b89f9d45810
|