Process JSON-RPC requests
Project description
Jsonrpcserver
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.
Testing
pip install pytest mypy
pytest
mypy jsonrpcserver
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.1.tar.gz
(13.1 kB
view hashes)