Metadata-Version: 1.1
Name: jsonrpcserver
Version: 2.1.0
Summary: JSON-RPC server library.
Home-page: https://jsonrpcserver.readthedocs.org/
Author: Beau Barker
Author-email: beauinmelbourne@gmail.com
License: UNKNOWN
Description: jsonrpcserver
        *************
        
        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 tuple is a **JSON-RPC response** and an **HTTP status code**, which
        can be used to respond to a client.
        
        Full documentation is available at https://jsonrpcserver.readthedocs.org/.
        
        
        Release History
        ===============
        
        2.1.0 (2015-09-06)
        ------------------
        
        - Debug mode can now be enabled by setting a flag on the dispatcher.
          (``dispatcher = Dispatcher(debug=True)`` or ``dispatcher.debug = True``).
          This allows extra (potentially sensitive) information to be included in the
          response message to the client. *The previous method (passing
          ``more_info=True`` to the dispatch method) has been removed.*
        
        2.0.2 (2015-09-04)
        ------------------
        
        - Faster request validation.
          (`#23 <https://bitbucket.org/beau-barker/jsonrpcserver/issues/23/performance-of-jsonrpcserver-is-not-very>`_)
        
        2.0.1 (2015-05-09)
        ------------------
        
        - Fixed logging, now allows you to add handlers to getLogger('jsonrpcserver').
          See docs for info.
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
