Skip to main content

Process JSON-RPC requests

Project description

jsonrpcserver

PyPI Downloads Coverage Status

Version 4 is out. It's Python 3.6+ only. See the changelog, example usage, and read the updated documentation.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
jsonrpcserver-4.0.0.tar.gz (13.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page