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.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

wsmprpc-0.2.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wsmprpc-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 557b119df991ca06f4ac8b447f87e08f8c476f1d68926ecd3e64f5f9534eac2a
MD5 66e1db21344dcc91b862b004375e672f
BLAKE2b-256 baf5999c895cd9a6e33f33bfc9c4983def098fcab229f0179c9e2a6ab3c0056d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wsmprpc-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 537c0f749a2cfd04d0f6199901a4779d177dd8e224216e74eafc87b8624ae0ae
MD5 4b84b9bc43d00d6d5a84229e7e980f14
BLAKE2b-256 84b5898d97fdd0863203a2d57d47f4ff0496963a9ed2a55e1ff84237a04daa03

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