Skip to main content

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.

Metadata

Release files for python-lsp-jsonrpc 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-lsp-jsonrpc 1.0.0
File Size Uploaded
python-lsp-jsonrpc-1.0.0.tar.gz 10.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-lsp-jsonrpc 1.0.0
File Interpreter ABI Platform
python_lsp_jsonrpc-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.5 kB

Release files / python-lsp-jsonrpc-1.0.0.tar.gz

Download URL python-lsp-jsonrpc-1.0.0.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7bec170733db628d3506ea3a5288ff76aa33c70215ed223abdb0d95e957660bd
BLAKE2b-256 checksum
How to use checksums
99451c2a272950679af529f7360af6ee567ef266f282e451be926329e8d50d84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

Release files / python_lsp_jsonrpc-1.0.0-py3-none-any.whl

Download URL python_lsp_jsonrpc-1.0.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
079b143be64b0a378bdb21dff5e28a8c1393fe7e8a654ef068322d754e545fc7
BLAKE2b-256 checksum
How to use checksums
06ee754bfd5f6bfe7162c10d3ecb0aeef6f882f91d3231596c83f761a75efd0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

Release history Release notifications | RSS feed

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page