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)
Built Distribution
Close
Hashes for orpc_client-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4845d9de989188937ce590b7632be9f30e63562c74c23c7538e17a20cd7eefd |
|
MD5 | fc8fe44cd998d372ada3d039fedd52af |
|
BLAKE2b-256 | d0ccf6543da95cadac515ad5b7976fae46b555eb9b10ec94da46011402c7bba6 |