PYSX — reactive interfaces in PythonPYSX is a server-side reactive UI library for Python. Build interfaces with indentation-based markup inside Python t-strings, keep state in signals, and send targeted updates to the browser when that state changes. Python handles user events on the server; a small JavaScript client applies the updates. This extension provides editor support for the PYSX framework. InstallUse Python 3.14 or newer. Install the framework and editor tooling in your project's Python environment:
Or, in a uv project:
The VS Code supportInstall PYSX ( To build and install the same extension locally from the repository root:
Either script changes the installed extension but not the running window, so run Developer: Reload Window afterwards. The extension provides syntax highlighting for markup inside Highlighting applies at literal call sites, including calls where a formatter puts the opening t-string on the next line. TextMate grammars do not follow variables or dataflow. Diagnostics refresh when a file opens or is saved, rather than as you type. See the template grammar for authoring rules and verification setup for extension build and host tests. |