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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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