Skip to main content

Process JSON-RPC requests

Project description

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

>>> dispatch([cat, dog], {'jsonrpc': '2.0', 'method': 'cat'})
'meow'

Full documentation is available at https://jsonrpcserver.readthedocs.org/.

Recent Changes

3.1.0 (2015-10-17)

dispatch() now accepts a dictionary of name:method pairs, as an alternative to the usual list of methods.

3.0.0 (2015-10-11)

Major update - much of the library has been rewritten. Although it works in much the same way as before, upgraders are advised to read the new documentation to pick up the changes.

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.1.0.tar.gz (8.8 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