Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fork of the python-jsonrpc-server project, maintained by the Spyder IDE team and the community

License

Notifications You must be signed in to change notification settings

python-lsp/python-lsp-jsonrpc

Open more actions menu

Repository files navigation

Python JSON RPC Server

A Python 3.8+ server implementation of the JSON RPC 2.0 protocol. This library has been pulled out of the Python LSP Server project.

Installation

pip install -U python-lsp-jsonrpc

Examples

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

Start by installing tornado and python-lsp-server

pip install python-lsp-server[all] tornado

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

About

Fork of the python-jsonrpc-server project, maintained by the Spyder IDE team and the community

Resources

License

Security policy

Stars

Watchers

Forks

Contributors 19

Morty Proxy This is a proxified and sanitized view of the page, visit original site.