Skip to main content

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

Project description

Pyxle Language Toolkit

Language tools for Pyxle .pyx 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.2.1.tar.gz (84.0 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.2.1-py3-none-any.whl (53.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyxle_langkit-0.2.1.tar.gz
  • Upload date:
  • Size: 84.0 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.2.1.tar.gz
Algorithm Hash digest
SHA256 4beb2f2db6c7d9903ba72779eb527d144ef780dd9b0513f4d8093230982e8f13
MD5 b65772a0d072289e5aad71f3d927a3c2
BLAKE2b-256 b1cff26a718247700b85a4326632588c755c0b3ba8c0eceb72cc3d2c2fe4d7c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyxle_langkit-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 53.9 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c99b838b4a39e979090f8ae43564f7b5308402ca8d56a5f32549c62578c9ac6c
MD5 44278ec04e0b0ec64b8ffbe891c66c33
BLAKE2b-256 c3e72cbb06a2767b260023b88fb82520cdc32c1eeb57209976b9f186d1118b69

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