Metadata-Version: 1.1
Name: jsonrpcserver
Version: 2.0.1
Summary: JSON-RPC server library.
Home-page: https://jsonrpcserver.readthedocs.org/
Author: Beau Barker
Author-email: beauinmelbourne@gmail.com
License: UNKNOWN
Description: jsonrpcserver
        =============
        
        .. image:: https://pypip.in/v/jsonrpcserver/badge.png
        .. image:: https://pypip.in/d/jsonrpcserver/badge.png
        
        Handle `JSON-RPC <http://www.jsonrpc.org/>`_ requests.
        
        Write functions to carry out the JSON-RPC requests:
        
        .. sourcecode:: python
        
            >>> api.register_method(lambda x, y: x + y, 'add')
        
        Then dispatch requests to them:
        
        .. sourcecode:: python
        
            >>> api.dispatch({'jsonrpc': '2.0', 'method': 'add', 'params': [2, 3], 'id': 1})
            ({'jsonrpc': '2.0', 'result': 5, 'id': 1}, 200)
        
        The returned values - a JSON-RPC response and an HTTP status code - can be
        used to respond to a client.
        
        Full documentation is available at https://jsonrpcserver.readthedocs.org/.
        
        
        Release History
        ---------------
        
        2.0.1 (2015-05-09)
        ^^^^^^^^^^^^^^^^^^
        
        - Fixed logging, now allows you to add handlers to getLogger('jsonrpcserver').
          See docs for info.
        
        2.0.0 (2015-04-09)
        ^^^^^^^^^^^^^^^^^^
        
        **Major update.**
        
        The Flask dependency has been removed. So little of the code relied on Flask,
        so that code was either updated or removed altogether. The library can still be
        used with Flask with very few changes - see `flask-example.py
        <https://bitbucket.org/beau-barker/jsonrpcserver/src/tip/flask-example.py>`_.
        
        The library now works very similarly to Josh Marshall's `jsonrpclib
        <https://pypi.python.org/pypi/jsonrpclib>`_, but is purely for the server-side
        and has no client, and is just a dispatcher, not a server (despite the name),
        giving the freedom to be used on a wider range of scenarios.
        
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
Classifier: Operating System :: OS Independent
