Skip to main content

Process JSON-RPC requests

Project description

Process JSON-RPC requests in Python 2.7 and 3.3+.

from jsonrpcserver import Methods
methods = Methods()

@methods.add
def ping():
    return 'pong'

if __name__ == '__main__':
    methods.serve_forever()

Full documentation is at jsonrpcserver.readthedocs.io.

3.3.0 (August 5, 2016)

  • A basic HTTP server has been added.

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-3.3.2.tar.gz (9.9 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