Process JSON-RPC requests
Project description
jsonrpcserver
Process JSON-RPC requests in Python.
from jsonrpcserver import method, serve
@method
def ping():
return "pong"
if __name__ == "__main__":
serve()
Full documentation is at jsonrpcserver.readthedocs.io.
Testing
pip install pytest
pytest
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-4.0.0rc1.tar.gz
(12.9 kB
view hashes)