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.
Release files for python-lsp-jsonrpc 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-lsp-jsonrpc-1.1.2.tar.gz | 15.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_lsp_jsonrpc-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.1 kB
Release files / python-lsp-jsonrpc-1.1.2.tar.gz
| Download URL | python-lsp-jsonrpc-1.1.2.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4688e453eef55cd952bff762c705cedefa12055c0aec17a06f595bcc002cc912
|
|
BLAKE2b-256 checksum How to use checksums |
48b6fd92e2ea4635d88966bb42c20198df1a981340f07843b5e3c6694ba3557b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / python_lsp_jsonrpc-1.1.2-py3-none-any.whl
| Download URL | python_lsp_jsonrpc-1.1.2-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7339c2e9630ae98903fdaea1ace8c47fba0484983794d6aafd0bd8989be2b03c
|
|
BLAKE2b-256 checksum How to use checksums |
cbd9656659d5b5d5f402b2b174cd0ba9bc827e07ce3c0bf88da65424baf64af8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|