Module for simple RPC server implementation
Project description
drakaina
❗ WIP
Module for simple RPC server implementation
Quick use
from drakaina import remote_procedure
from drakaina.rpc_protocols import JsonRPCv2
@remote_procedure
def my_method():
return "Hello Bro! ✋️"
JsonRPCv2().handle({"jsonrpc": "2.0", "method": "my_method", "id": 1})
Installation
pip install drakaina
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
drakaina-0.3.2.tar.gz
(27.8 kB
view hashes)
Built Distribution
drakaina-0.3.2-py3-none-any.whl
(34.7 kB
view hashes)