python-lsp-jsonrpc


Namepython-lsp-jsonrpc JSON
Version 1.1.2 PyPI version JSON
download
home_page
SummaryJSON RPC 2.0 server library
upload_time2023-09-23 17:48:30
maintainer
docs_urlNone
authorPython Language Server Contributors
requires_python>=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # 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``.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "python-lsp-jsonrpc",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Python Language Server Contributors",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/48/b6/fd92e2ea4635d88966bb42c20198df1a981340f07843b5e3c6694ba3557b/python-lsp-jsonrpc-1.1.2.tar.gz",
    "platform": null,
    "description": "# Python JSON RPC Server\n\nA 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.\n\n## Installation\n\n    pip install -U python-lsp-jsonrpc\n\n## Examples\n\nThe 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.\n\nStart by installing `tornado` and `python-lsp-server`\n\n    pip install python-lsp-server[all] tornado\n\nThen running `python examples/langserver.py` or `python examples/langserver_ext.py` will host a websocket on ``ws://localhost:3000/python``.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "JSON RPC 2.0 server library",
    "version": "1.1.2",
    "project_urls": {
        "Homepage": "https://github.com/python-lsp/python-lsp-jsonrpc"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cbd9656659d5b5d5f402b2b174cd0ba9bc827e07ce3c0bf88da65424baf64af8",
                "md5": "820020dbba1b4d6b7ba656bdf11789b6",
                "sha256": "7339c2e9630ae98903fdaea1ace8c47fba0484983794d6aafd0bd8989be2b03c"
            },
            "downloads": -1,
            "filename": "python_lsp_jsonrpc-1.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "820020dbba1b4d6b7ba656bdf11789b6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 8805,
            "upload_time": "2023-09-23T17:48:28",
            "upload_time_iso_8601": "2023-09-23T17:48:28.804453Z",
            "url": "https://files.pythonhosted.org/packages/cb/d9/656659d5b5d5f402b2b174cd0ba9bc827e07ce3c0bf88da65424baf64af8/python_lsp_jsonrpc-1.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "48b6fd92e2ea4635d88966bb42c20198df1a981340f07843b5e3c6694ba3557b",
                "md5": "e1d6b567c69b53f606cf7934678bae12",
                "sha256": "4688e453eef55cd952bff762c705cedefa12055c0aec17a06f595bcc002cc912"
            },
            "downloads": -1,
            "filename": "python-lsp-jsonrpc-1.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "e1d6b567c69b53f606cf7934678bae12",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 15298,
            "upload_time": "2023-09-23T17:48:30",
            "upload_time_iso_8601": "2023-09-23T17:48:30.451983Z",
            "url": "https://files.pythonhosted.org/packages/48/b6/fd92e2ea4635d88966bb42c20198df1a981340f07843b5e3c6694ba3557b/python-lsp-jsonrpc-1.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-23 17:48:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "python-lsp",
    "github_project": "python-lsp-jsonrpc",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "python-lsp-jsonrpc"
}
        
Elapsed time: 0.13767s