Process incoming JSON-RPC 2.0 requests in Python
https://bensynapse.github.io/jsonrpcserver/ ↗ HEALTH ? 98 / Healthy
Process incoming JSON-RPC 2.0 requests in Python
https://bensynapse.github.io/jsonrpcserver/ ↗// readme
jsonrpcserver takes a JSON-RPC 2.0 request, calls your Python function and gives you the response to send back. It leaves the networking to you, so it fits into whatever server you already have.
dispatch and async_dispatch. With async_dispatch, the
requests in a batch run concurrently.max_batch_size).py.typed, and @method keeps your functions’ signatures for
mypy and pyright.pip install jsonrpcserver
If you’re on 5.0.9 or older, upgrade: those versions send exception messages to clients. Main is 6.0,…