Skip to main content

Open RPC client.

Project description

orpc-client

Open RPC client.

Install

pip install orpc-client

Server Install

pip install orpc

About Connection Login sm3utils deps

For most newly installed python, sm3 hash method is already provided. If your python installation doesn't support sm3 hash method, you need to install it via pip install sm3utils by yourself.

Protocol

oRPC request

  • request_package = 4bytes-length-byteorder-big + msgstack.dumps(request_body)
  • request_body = {"event": "xxx", "args": [], "kwargs": {}}

oRPC response

  • response_package = 4bytes-length-byteorder-big + msgstack.dumps(response_body)
  • response_body = {"result": xx, "code": 0, "message": "xxx"}

Releases

v0.1.0

  • First release.

v0.1.2

  • Add oRPC connection auto login support.

v0.1.3

  • Add auto_reconnect support for orpc-client.

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

orpc-client-0.1.3.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

orpc_client-0.1.3-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file orpc-client-0.1.3.tar.gz.

File metadata

  • Download URL: orpc-client-0.1.3.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for orpc-client-0.1.3.tar.gz
Algorithm Hash digest
SHA256 93d1f27f544480786c50da24c4b2b544531c165e957d07dcb51cd1872bca11e8
MD5 5133a49a23b8dda3d41ae2579815efe8
BLAKE2b-256 fb8bbda122328bd6558766219a70b1087d66d129b7f85ded2743f460220c3ae8

See more details on using hashes here.

File details

Details for the file orpc_client-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: orpc_client-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for orpc_client-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f4845d9de989188937ce590b7632be9f30e63562c74c23c7538e17a20cd7eefd
MD5 fc8fe44cd998d372ada3d039fedd52af
BLAKE2b-256 d0ccf6543da95cadac515ad5b7976fae46b555eb9b10ec94da46011402c7bba6

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