Skip to main content

Language tools for Pyxle: LSP server, linter, and editor integrations.

Project description

Pyxle Language Toolkit

Language tools for Pyxle .pyxl files — LSP server, linter, and VS Code extension.

Features

  • Syntax highlighting via TextMate grammar (Python + JSX sections)
  • Diagnostics from pyflakes, Babel, and Pyxle-specific rules
  • Completions via Jedi (Python) + Pyxle component completions (JSX)
  • Hover documentation for Python symbols and Pyxle decorators/components
  • Go-to-definition via Jedi with cross-section navigation
  • Document symbols and workspace symbols
  • Formatting with ruff (Python) and prettier (JSX)
  • Semantic tokens via AST analysis

Installation

pip install pyxle-langkit

The VS Code extension is available on the VS Code Marketplace.

Architecture

All intelligence lives in the Python LSP server. The VS Code extension is a thin LSP client (~100 LOC).

  • Python analysis: Jedi for completions, definitions, hover
  • JSX analysis: Pyxle-specific completions + Babel for validation
  • Static analysis: pyflakes + Pyxle rules
  • LSP framework: pygls

License

MIT

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

pyxle_langkit-0.3.2.tar.gz (98.6 kB view details)

Uploaded Source

Built Distribution

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

pyxle_langkit-0.3.2-py3-none-any.whl (54.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyxle_langkit-0.3.2.tar.gz
  • Upload date:
  • Size: 98.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for pyxle_langkit-0.3.2.tar.gz
Algorithm Hash digest
SHA256 02024cb6e11b1b4f671c26b9b14442ff69bf75071fed342647d500c717139224
MD5 0c4c4fcad61fdc45d2ea93bd09194559
BLAKE2b-256 93b9d3d2d72b0626e47b0cec535b5f80b51d1513cf419a50432c14a3a44cd086

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyxle_langkit-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 54.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for pyxle_langkit-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 301196da52060216fd0bc2bbd54d57ca4e07e2a91e4b1b30cb5620b9c2578050
MD5 f2c3d6c95716aa539207b3dcda4d614b
BLAKE2b-256 ed15f148bbe5f9f9c5d02ec38ae77e301739748f9af0e67c5f37d248c44f438d

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