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.3 (Sep 15, 2016)
Updated method of logging exception (thanks @bplower)
3.3.2 (Aug 19, 2016)
Pass Methods named args onto MutableMapping
Remove unused logger
3.3.1 (Aug 5, 2016)
Allow passing dict to Methods constructor
3.3.0 (Aug 5, 2016)
A basic HTTP server has been added.
Project details
Release history Release notifications | RSS feed
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.3.tar.gz
(10.2 kB
view hashes)