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

Uploaded Source

Built Distribution

wsmprpc-1.1.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wsmprpc-1.1.1.tar.gz
  • Upload date:
  • Size: 4.3 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.1.1.tar.gz
Algorithm Hash digest
SHA256 7864c81fce8c776938eb7c29705a93492edb284eb04372dfbc4a7c1a29d36f13
MD5 badcc5de76ae7a080c17bb325c8a81c2
BLAKE2b-256 2ec7756856326c157b531f5cac7d4733a5bdaa3e7486b88d9719267d770e253c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wsmprpc-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ae0ee776edd186bc8cef16ec529a35520053366c5dc493bb5f7c7398a1e0e61e
MD5 723d789726a725f67f29da17711b8265
BLAKE2b-256 beffdcbfadbf6829cc09a9467e128d98b2faa56a7b112a122d3406fce7bb4d43

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