python-lsp-jsonrpc-1.1.2
توضیحات
JSON RPC 2.0 server library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | python-lsp-jsonrpc-1.1.2 |
| نام | python-lsp-jsonrpc |
| نسخه کتابخانه | 1.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Python Language Server Contributors |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/python-lsp-jsonrpc/ |
| مجوز | MIT |
# Python JSON RPC Server
A Python 3.8+ server implementation of the [JSON RPC 2.0](http://www.jsonrpc.org/specification) protocol. This library has been pulled out of the [Python LSP Server](https://github.com/python-lsp/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``.
نیازمندی
| مقدار | نام |
|---|---|
| =3.0. | ujson |
| - | pylint |
| - | pycodestyle |
| - | pyflakes |
| - | pytest |
| - | pytest-cov |
| - | coverage |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl python-lsp-jsonrpc-1.1.2:
pip install python-lsp-jsonrpc-1.1.2.whl
نصب پکیج tar.gz python-lsp-jsonrpc-1.1.2:
pip install python-lsp-jsonrpc-1.1.2.tar.gz