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.0.tar.gz (83.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.0-py3-none-any.whl (54.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyxle_langkit-0.2.0.tar.gz
  • Upload date:
  • Size: 83.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.0.tar.gz
Algorithm Hash digest
SHA256 2639d7e13d2f82d8a1c1cfe80ed7b6cd3fe4e6a5f521a20f4573d98bced470e9
MD5 cc636a6565d3f744c587f34aa7dc493c
BLAKE2b-256 27ec9eec09ec75f287d8397e9ae097bf3a7f5bfdaebffe769a707c08c1eb4634

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyxle_langkit-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 54.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 129ced49d79d13865c9744355d264ce6ba70d74892a875156b3d2002f9b9ab1d
MD5 d5ad0b5c516d89ac8e85a4e0bb5b8d05
BLAKE2b-256 b970db4b5024be2346e2c519811dd42b42aee0c49f1afd724a1a371ead845e32

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