JSON RPC 2.0 server library
Project description
Python JSON RPC Server
A Python 3.6+ 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-jsonrpc-server
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-language-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
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-lsp-jsonrpc-1.0.0.tar.gz
(10.0 kB
view hashes)
Built Distribution
Close
Hashes for python_lsp_jsonrpc-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 079b143be64b0a378bdb21dff5e28a8c1393fe7e8a654ef068322d754e545fc7 |
|
MD5 | b1c198303b5a2b5fdd2e825e28642e61 |
|
BLAKE2b-256 | 06ee754bfd5f6bfe7162c10d3ecb0aeef6f882f91d3231596c83f761a75efd0b |