Asyncio RPC client/server with redis/msgpack/dataclasses


Keywords
asyncio, rpc
License
BSD-3-Clause
Install
pip install asyncio-rpc==0.2.0

Documentation

Asyncio-rpc: Remote procedure calling framework

The Python package for the asyncio remote procedure calling

https://api.travis-ci.com/nens/asyncio-rpc.svg?branch=master Documentation Status

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