# wsmpRPC
Python msgpack RPC over websocket
## Features
Asynchronous
Compared to json, [msgpack](https://msgpack.org/) 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](https://grpc.io/docs/tutorials/basic/python/).
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](https://msgpack.org/) and [javascript](https://github.com/ygoe/msgpack.js) versions of msgpack
## Examples * [server_test.py](https://github.com/hyansuper/wsmprpc/blob/master/examples/server_test.py) * [client_test.py](https://github.com/hyansuper/wsmprpc/blob/master/examples/client_test.py) * [client_test.html (javascript client)](https://github.com/hyansuper/wsmprpc/blob/master/js/client_test.html)
Metadata
Release files for wsmprpc 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wsmprpc-1.1.3.tar.gz | 5.2 kB | Without provenance | Details for wsmprpc-1.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wsmprpc-1.1.3-py3-none-any.whl | Python 3 | none | any | Details for wsmprpc-1.1.3-py3-none-any.whl |
Total release size: 12.4 kB
Release files / wsmprpc-1.1.3.tar.gz
| Download URL | wsmprpc-1.1.3.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0cdfccda36e9e34de18b8198aea556e2a08f517c952ecccd993bc2e59934fa0
|
|
BLAKE2b-256 checksum How to use checksums |
e6044bc61c4f35b9a0bb2fc6d70a88d40c60b1256028b247efc19ae4cdff6d11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.6.9
|
Release files / wsmprpc-1.1.3-py3-none-any.whl
| Download URL | wsmprpc-1.1.3-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc8e481aa6a46585c570ae3116e9d9999dd8d41747ce5b9eb9d5d8987773bc82
|
|
BLAKE2b-256 checksum How to use checksums |
10c89934844d65d368f21d103c37d5203a895310fc31925f5afd665f6af4a501
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.6.9
|
Security for wsmprpc 1.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.