Skip to main content

Param Language Server Protocol

Project description

param-lsp

A Language Server Protocol (LSP) implementation for the HoloViz Param library, providing intelligent IDE support for Python codebases using Param.

Demo

Demo video coming soon

Features

  • Autocompletion: Context-aware completions for Param class constructors, parameter definitions, and @param.depends decorators
  • Parameter checking: Real-time validation of parameter types, bounds, and constraints with error diagnostics
  • Hover information: Rich documentation for Param parameters including types, bounds, descriptions, and default values
  • Cross-file analysis: Intelligent parameter inheritance tracking across local and external Param classes (Panel, HoloViews, etc.)

Installation

pip install param-lsp

Usage

Configure your IDE to use param-lsp as the language server for Python files containing Param code.

VS Code

Install the param-lsp VS Code extension from the marketplace.

Other IDEs

Configure your IDE's LSP client to use param-lsp server as the language server command.

Development

# Clone the repository
git clone https://github.com/your-username/param-lsp.git
cd param-lsp

# Install dependencies
uv sync

# Run tests
pytest tests/

# Run linting
prek run --all-files

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

param_lsp-0.0.1b20.tar.gz (474.2 kB view details)

Uploaded Source

Built Distribution

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

param_lsp-0.0.1b20-py3-none-any.whl (90.1 kB view details)

Uploaded Python 3

File details

Details for the file param_lsp-0.0.1b20.tar.gz.

File metadata

  • Download URL: param_lsp-0.0.1b20.tar.gz
  • Upload date:
  • Size: 474.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for param_lsp-0.0.1b20.tar.gz
Algorithm Hash digest
SHA256 4d9e225d557ca6fe5d8207a1c09e5d9bc3c85ee6b3433896cc68f5f06b17e504
MD5 f84d0b35e54dc3f8d24fdf248a7d5a88
BLAKE2b-256 2d393116a8a62424409e651f02fb421b14ecac0320b03dd4630a56ef95d20191

See more details on using hashes here.

Provenance

The following attestation bundles were made for param_lsp-0.0.1b20.tar.gz:

Publisher: build.yaml on hoxbro/param-lsp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file param_lsp-0.0.1b20-py3-none-any.whl.

File metadata

  • Download URL: param_lsp-0.0.1b20-py3-none-any.whl
  • Upload date:
  • Size: 90.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for param_lsp-0.0.1b20-py3-none-any.whl
Algorithm Hash digest
SHA256 f381479b1d1f5c6f9dbd439b227d43b03bfc9c08caaac1d881adce91fa528c6e
MD5 02dc053df10bcb5b9584f90db4bd32af
BLAKE2b-256 fdca49e8452a5869eef920f37158de9b1d653097673f3a92ab0240822e7fbb11

See more details on using hashes here.

Provenance

The following attestation bundles were made for param_lsp-0.0.1b20-py3-none-any.whl:

Publisher: build.yaml on hoxbro/param-lsp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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