Process JSON-RPC requests in Python.
Version 4 is out. It's Python 3.6+ only. See the changelog, example usage, and read the updated documentation.
from jsonrpcserver import method, serve @method def ping(): return "pong" if __name__ == "__main__": serve()Full documentation is at jsonrpcserver.readthedocs.io.
pip install pytest mypy pytest mypy jsonrpcserverSee also: jsonrpcclient