Skip to content

python-lsp/python-lsp-jsonrpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

eab2610 · Aug 14, 2024

History

47 Commits
Aug 14, 2024
Apr 14, 2021
Sep 7, 2023
Jan 17, 2020
Sep 23, 2023
Apr 14, 2021
May 20, 2018
May 11, 2022
May 20, 2018
Sep 23, 2023
Apr 14, 2021
Apr 14, 2021
Sep 7, 2023
Sep 7, 2023
Sep 8, 2023
May 15, 2022

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

Stars

Watchers

Forks

Contributors 18