Process JSON-RPC requests
Project description
August 16, 2021: Version 5 has been released. Read about the changes in version 5, or read the full documentation. Version 5 is for Python 3.8+ only. For earlier versions jump to the 4.x branch or read the documentation for version 4.
Process incoming JSON-RPC requests in Python.
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jsonrpcserver-5.0.4.tar.gz
(14.5 kB
view hashes)