Skip to main content

Process JSON-RPC requests

Project description

August 16, 2021: Version 5 has been released. Read about the changes in v5, or jump to the full documentation for version 5. Version 5 is for Python 3.8+ only. For earlier versions jump to the 4.x branch and read the full documentation for version 4

jsonrpcserver

Process incoming JSON-RPC requests in Python.

PyPI Downloads Checks Coverage Status

from jsonrpcserver import Success, method, serve

@method
def ping():
    return Success("pong")

if __name__ == "__main__":
    serve()

Full documentation is at jsonrpcserver.com.

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.

Source Distribution

jsonrpcserver-5.0.3.tar.gz (14.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page