Skip to main content

Process JSON-RPC requests

Project description

:warning: Note: This master branch is for development of the upcoming version 5, which is currently in alpha beta release candidate! For the latest stable version, see the 4.x branch. Also, please pin your dependency to "jsonrpcserver<5" until you're ready to upgrade to v5.

jsonrpcserver

Process JSON-RPC requests in Python.

PyPI Downloads 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.0.tar.gz (14.1 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