slint/api/python/compiler
2025-09-11 14:01:14 +00:00
..
slint_compiler Python: Run mypy type checker on the slint compiler 2025-07-11 14:45:43 +02:00
.gitignore Python: Add wrapper for Slint Compiler 2025-07-11 14:07:56 +02:00
pyproject.toml Bump version number to 1.14.0 2025-09-11 14:01:14 +00:00
README.md Python: Add wrapper for Slint Compiler 2025-07-11 14:07:56 +02:00

Python Slint Compiler

This package is a wrapper around Slint's compiler for Python, to generate a typed .py file from a .slint file, for use with Slint for Python.

When run, the slint compiler binary is downloaded, cached, and run.

By default, the Slint compiler matching the version of this package is downloaded. To select a specific version, set the SLINT_COMPILER_VERSION environment variable. Set it to nightly to select the latest nightly release.

Example

uxv run slint-compiler -f python -o app_window.py app-window.slint