Skip to main content

Zero-dependency Python library for Language Server Protocol types

Project description

LSP Types

Publish the excellent work of Sublime LSP as a PyPI package.

Installation

pip install lsp-types

Usage

import lsp_types

# Use the types

Development

Requires Python 3.11+.

Generate latest types in one go:

make generate-latest-types

Download the latest json schema:

make download-schemas

Generate the types:

make generate-schemas

Copy the lsp_types/types.py file to your project.

NOTE: Do not import types that begin with __. These types are internal types and are not meant to be used.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lsp_types-0.3.2.tar.gz (51.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lsp_types-0.3.2-py3-none-any.whl (52.9 kB view details)

Uploaded Python 3

File details

Details for the file lsp_types-0.3.2.tar.gz.

File metadata

  • Download URL: lsp_types-0.3.2.tar.gz
  • Upload date:
  • Size: 51.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Darwin/24.2.0

File hashes

Hashes for lsp_types-0.3.2.tar.gz
Algorithm Hash digest
SHA256 fd421ebab9c0ace4021277f63261d79208d96c5a2de7e9b1c93c8be9edf1c590
MD5 0eb8c8d05e1066385fe1f9a49ff8ccfb
BLAKE2b-256 842731411e53401eaa98b539598b4254f6842d5c204a87871ecbcf09b4282296

See more details on using hashes here.

File details

Details for the file lsp_types-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: lsp_types-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 52.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Darwin/24.2.0

File hashes

Hashes for lsp_types-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 97057d232e1a53501a1a2b3c005b9a60ce71d45275bf4b0b847b62e0db0f8201
MD5 d5912ec041178925f4bb32ad76107a1f
BLAKE2b-256 5e5b1fb7fcaa2aefc80d94fdf34c19cbe475503b8e27d0274ff9377991489c02

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page