Skip to main content

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 browser.

Install

pip install wsmprpc

Dependency:

python and javascript versions of msgpack

Examples

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

wsmprpc-0.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

wsmprpc-0.2-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file wsmprpc-0.2.tar.gz.

File metadata

  • Download URL: wsmprpc-0.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for wsmprpc-0.2.tar.gz
Algorithm Hash digest
SHA256 9d5bbe0a415e3462a457e450656c0a68be78ddcd3038b63614733f1fc7d07cd8
MD5 80246a84bc7cb35fa825f97ef4989da5
BLAKE2b-256 46de5a5e6c8b39a5710cfd0b7580666c19c3e7ff1d268488e5adc3272a14a743

See more details on using hashes here.

File details

Details for the file wsmprpc-0.2-py3-none-any.whl.

File metadata

  • Download URL: wsmprpc-0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for wsmprpc-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 84f1059ee937cdd2365d4f5fe6bb231a69578179e5c8800ec184665a2aa4b792
MD5 24de10ec0c9622381c97415973103e1a
BLAKE2b-256 404dd5126078a8bea7e6d58a78395f201fc616b052013a6c36a50285552221d3

See more details on using hashes here.

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