Skip to content

explodinglabs/jsonrpcserver

 
 

Repository files navigation

August 16, 2021: Version 5 has been released. Read about the changes in version 5.

jsonrpcserver

Process incoming JSON-RPC requests in Python.

PyPI Code Quality Coverage Status Downloads

from jsonrpcserver import Success, method, serve

@method
def ping():
    return Success("pong")

if __name__ == "__main__":
    serve()

Full documentation is at jsonrpcserver.com.

See also: jsonrpcclient