Asyncio RPC client/server with redis/msgpack/dataclasses
Project description
Asyncio-rpc: Remote procedure calling framework
The Python package for the asyncio remote procedure calling
Free software: BSD license
Documentation: https://asyncio-rpc.readthedocs.io.
Overview
Features
Asyncio RPC client/server
Msgpack serialization with option to use own dataclasses (Python 3.7)
Redis communication layer
Other serialization methods and communication layers can be added
Examples
The examples can be run from this directory, for the dataclass example (using localhost as redis host):
>>> python3.7 -m examples.dataclass.server localhost >>> python3.7 -m examples.dataclass.client localhost
Testing
>>> docker-compose run pytest --cov=asyncio_rpc --cov-report=html
0.1.6 (2019-12-30)
Added pub/sub support to allow sending continuous updates from the server for a client subscription
Add slice serialization/deserialization support
0.1.5 (2019-12-23)
Server.serve() methode respawns on internal tasks errors
Better error handling in server.
0.1.4 (2019-10-03)
Client now raises RPCTimeoutError if the result of a RPC call took to long to be received.
Client.serve() method respawns internal tasks on errors.
0.1.3 (2019-08-21)
Verbose feedback on assertion error while trying to unpack dataclasses.
0.1.2 (2019-07-04)
Fixed bug with bytes/str serialization/deserialization
0.1.1 (2019-04-29)
Added channel override option in client.rpc_call
0.1.0 (2019-03-20)
first pypi release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for asyncio_rpc-0.1.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1efedf5df620b060dd8826553cd7b587e032fefdc4f1799dcf496f43fa47d629 |
|
MD5 | 0db9c85419dd7eb22d49a1fb8f068a74 |
|
BLAKE2b-256 | 636e2f6adb86eaafdf4a5ba6513d8fa5043129d7149e4e6edcf01b0355bb352a |