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.

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

Uploaded Source

Built Distribution

orpc_client-0.1.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: orpc-client-0.1.2.tar.gz
  • Upload date:
  • Size: 3.4 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.2.tar.gz
Algorithm Hash digest
SHA256 c6f4f9f08c0b1076a5af96312a9a4d56daaf3f06143168e9d3a1360849c11d97
MD5 6d9bd95b3763bbc1ac0cf2af705891ed
BLAKE2b-256 107ff45e3b963c1744efd4500caa942ec1a40255e1b6225df2b804137f101668

See more details on using hashes here.

File details

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

File metadata

  • Download URL: orpc_client-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e1fe26a8376f555ea6b56e4f8acba2373f643bf0366610b6bc2fbced8a442ae3
MD5 6308b78a35486aaeea42748434c42eb5
BLAKE2b-256 05978110a6b51658ac08a43fd1d6157d1ed517cc8450266416dc899b65c9e0f9

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