Skip to main content

JSON RPC 2.0 server library

Project description

A Python 2.7 and 3.4+ server implementation of the JSON RPC 2.0 protocol. This library has been pulled out of the Python Language Server project.

Asynchronous request handling is supported using Python 3’s concurrent.futures module and the Python 2 concurrent.futures backport.


pip install -U python-jsonrpc-server


The examples directory contains two examples of running language servers over websockets. examples/ shows how to run a language server in-memory. examples/ shows how to run a subprocess language server, in this case the Python Language Server.

Start by installing tornado and python-language-server

pip install python-language-server[all] tornado

Then running python examples/ or python examples/ will host a websocket on ws://localhost:3000/python.

To setup a client, you can use the examples from Monaco Language Client.


To run the test suite:

pip install .[test] && tox


This project is made available under the MIT License.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-jsonrpc-server, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size python-jsonrpc-server-0.0.2.tar.gz (24.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page