Process JSON-RPC requests
Project description
jsonrpcserver
Process JSON-RPC requests in Python.
from jsonrpcserver import methods
@methods.add
def ping():
return 'pong'
if __name__ == '__main__':
methods.serve_forever()
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-3.5.6.tar.gz
(13.5 kB
view hashes)