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

Uploaded Python 3

File details

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

File metadata

  • Download URL: lsp_types-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6eb2748646588907d2997103a33d5f70eb67a8e56b5d42c3c3bbee6fdc36aaa8
MD5 6adb555972283fdc53aec622779c115f
BLAKE2b-256 b1ff0f9c16a6191fca72b2d22c9e59f127c12fe20f8a3a801dc66ad434715e33

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lsp_types-0.3.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8cb8c7ff73056ce8bf6946d52825fe0dcedf75ce3cbcae527115a42fb6acbeb5
MD5 b3f67fea6235cd6b40e7feab19613e5c
BLAKE2b-256 6e605edcdd778ddfb36e201bdba17bc2542a524ad6c63bfe7dff67789edcb4b9

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