python msgpack RPC over websocket
Project description
wsmpRPC
Python msgpack RPC over websocket
Features
- Asynchronous
- Compared to json, msgpack supports binary data.
- Client is able to cancel long running calculation on server.
- Supports bidirectional streaming RPC, where the client sends/receives a sequence of messages to/from server within one RPC, similar to gRPC.
- No need to define .proto files, thanks to python's dynamic features, RPC methods defined on server side can be readily used by client as if it's client's own method.
- Easy integration into any async web frameworks that support websocket.
- lib for javascript client on web browsers.
Install
pip install wsmprpc
Dependency:
python and javascript versions of msgpack
Examples
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
wsmprpc-1.1.1.tar.gz
(4.3 kB
view hashes)