Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Process JSON-RPC requests

Project description

Jsonrpcserver

Process JSON-RPC requests in Python.

PyPI Downloads Coverage Status

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


Download files

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

Files for jsonrpcserver, version 4.0.5
Filename, size File type Python version Upload date Hashes
Filename, size jsonrpcserver-4.0.5.tar.gz (14.0 kB) File type Source Python version None Upload date Hashes View hashes

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