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

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wsmprpc-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8557de027d78220b7d136c5bcdc3a4c7138ad463ce7231b757a61ec89144f2fb
MD5 8b104a0e6980a3d0cc2ed8e880136748
BLAKE2b-256 3182420678732279929ffe3521d3a2b931bfeafc333f9461c5fe6c0fcbc73f1b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wsmprpc-1.0.0-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/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for wsmprpc-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ed36d1cb2a43ea7d454e8a0fd78603a42205a474aebbc1a8e38a1d72e5e3a91
MD5 01025ed7def4ee43ad514e94dcf18078
BLAKE2b-256 495ff73d068704ff89b4be01c84313b9a90c886fc97d74c6212c6b4468d5ce39

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