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.0.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.0-py3-none-any.whl (52.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lsp_types-0.3.0.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.0.tar.gz
Algorithm Hash digest
SHA256 227cf1d109cc58e7ee29d66ee9c04426495e6d69df2266bba6e22e4db82fda1a
MD5 0ec496bf56c2205dc7e1bb7bd388be22
BLAKE2b-256 60063ac131eb1e59721a4ffa43b50518e2e906d4b00a02734610c5d46b75697f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lsp_types-0.3.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0600f0cb0a26885bb2572061c7c29480aa5178a93ef7cfc2ed56a5c506d6f0ad
MD5 7f520d30ff9fa83e921f58e267f69688
BLAKE2b-256 b0115c9430e84f4481ace6f8100ff477ab451371d9a0c702071a567fc92a252f

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