Skip to main content

Module for simple RPC server implementation

Project description

drakaina

❗ WIP

Module for simple RPC server implementation

license: Apache License 2.0 Python: >=3.7 Code style: black

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


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)

Uploaded Source

Built Distribution

drakaina-0.3.2-py3-none-any.whl (34.7 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