Skip to main content

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

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asyncio_rpc-0.1.3.tar.gz (15.4 kB view hashes)

Uploaded Source

Built Distribution

asyncio_rpc-0.1.3-py2.py3-none-any.whl (13.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page