A JSON RPC 2.0 server library for Python, used primarily by language servers like the Python Language Server. Current version 0.4.0, with infrequent updates. Supports concurrent request handling via futures.
pip install python-jsonrpc-serverNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic JSON RPC 2.0 server that reads from stdin and writes to stdout, handling a 'hello' method.
If you need the standard json module, pin to version 0.2.0 or manually monkey-patch. On Windows, install ujson with pip install ujson.
Ensure your JSON RPC messages strictly follow the spec: include 'jsonrpc':'2.0', 'method', 'id' (or null for notifications), and proper 'params'.