ajsonrpc
ajsonrpc copied to clipboard
🔁 Async JSON-RPC 2.0 protocol + server powered by asyncio & py35+. json-rpc successor.
#Example ```python class HelloRPC(BaseRPCHandler): async def hello(self): return "World" ```
**Tested in python 3.11.3** ```python import asyncio import json from ajsonrpc import AsyncJSONRPCResponseManager, Dispatcher class ExampleClass: @classmethod def example_one(cls, a, b): raise Exception("Test error") return a * b def example_two(**kwargs):...
This is to remove other service dependencies, keep everything on GitHub. Example action: https://github.com/marketplace/actions/sphinx-build