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

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: orpc-client-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 fe1dfc5dfef63b47fa8c93cd294bd0e6966111187663cade8a2449413271326d
MD5 c0a4256cda0c569b3d31039312c2936c
BLAKE2b-256 7e009ca2c2be9ef140dbcc8f8a677dfbf781df9c09f0bb03d065ee53fbe54c09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: orpc_client-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65cbe0c4672b0dd0124b13d367a69d84bc5d55121b0efa210bebe8c2658617b3
MD5 75b558ffa2c7268f59343a956d223092
BLAKE2b-256 1f35ce2ae97101ca03263c3cecfd6751f857300928dcb9477083a68e7abc1436

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