Skip to main content

Tesserae Engine

A GPU-rendered retained-mode UI engine for Python, written in Rust.

Tesserae Engine (imported as tre) gives Python the building blocks of a desktop UI — nodes, flexbox and grid layout, paint, animation, input and events, text, accessibility, layers, and threading — and renders them on the GPU, redrawing only what changed, with vello_gpu, laid out by taffy, shaped by parley, and exposed to screen readers through AccessKit.

It has no widgets and no theme of its own. A UI library or application built on it turns the blocks into buttons, dialogs, and design systems.

from tre import App, Window

window = Window(width=320, height=120, title="Hello")
button = window.create("box", width=120, height=40, corner_radius=20,
                       fill=(0x67, 0x50, 0xA4, 0xFF), role="button",
                       label="Say hello", focusable=True)
button.on("click", lambda: print("hello"))
window.root.add_child(button)

app = App()
app.add_window(window)
app.run()

Installing

pip install tesserae-engine

On PyPI it's tesserae-engine (the name tre there is another project's); you still import tre. Wheels cover CPython 3.12+ on Linux (x86_64), macOS (arm64), and Windows (x64); other platforms build from source. See Installation for the details.

Documentation

The guide, API reference, and migration notes are at mindderivative.github.io/tre, and their source is in docs/, built with MkDocs:

pip install mkdocs mkdocs-material
mkdocs serve   # http://127.0.0.1:8000

Start with Getting Started, then the guide's page for each building block; Building a Widget puts them together. Upgrading from 0.4.x? See Upgrading to 0.5.x; from 0.3.5, Upgrading to 0.4.x; from 0.3.4, Migrating to 0.3.5.

Building from source

python -m venv .venv
source .venv/bin/activate          # .venv\Scripts\activate on Windows
pip install maturin
maturin develop --release -m crates/engine-py/Cargo.toml
python examples/switch.py

Each script in examples/ is a small, runnable demonstration of one building block.

Development

cargo test --workspace --release
cargo clippy --workspace --all-targets --release -- -D warnings
cargo fmt --all --check
pytest tests/
mkdocs build --strict
mypy --strict python/tre
python -m mypy.stubtest tre --allowlist tools/stubtest_allowlist.txt
cargo +1.90 check --workspace --all-targets   # MSRV

Every rendering capability has a headless, GPU-backed pixel test under crates/engine-render/tests/, and the Python suite drives input and time headlessly through window.simulate and window.advance.

ARCHITECTURE.md is the design reference, and the GitHub project Tesserae Rendering Engine tracks the work from 0.5.0 on; the 0.4.x line is in BUILD_TRACKER_ARCHIVE_0.4.md, and the milestone-by-milestone history through v0.3.5.2 is in BUILD_TRACKER_ARCHIVE_0.3.md. Tesserae Engine is a from-scratch second iteration of an earlier Vulkan engine, archived under archive/ with its lessons learned.

Metadata

Release files for tesserae-engine 0.5.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tesserae-engine 0.5.7
File Size Uploaded Provenance Actions
tesserae_engine-0.5.7.tar.gz 2.7 MB With provenance Details for tesserae_engine-0.5.7.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for tesserae-engine 0.5.7
File Actions
tesserae_engine-0.5.7-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.15 CPython 3.15 free-threading Linux glibc 2.17+ x86-64 Details for tesserae_engine-0.5.7-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tesserae_engine-0.5.7-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.17+ x86-64 Details for tesserae_engine-0.5.7-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tesserae_engine-0.5.7-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 Details for tesserae_engine-0.5.7-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tesserae_engine-0.5.7-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for tesserae_engine-0.5.7-cp314-cp314-win_amd64.whl
tesserae_engine-0.5.7-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64 Details for tesserae_engine-0.5.7-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tesserae_engine-0.5.7-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for tesserae_engine-0.5.7-cp314-cp314-macosx_11_0_arm64.whl
tesserae_engine-0.5.7-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for tesserae_engine-0.5.7-cp313-cp313-win_amd64.whl
tesserae_engine-0.5.7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details for tesserae_engine-0.5.7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tesserae_engine-0.5.7-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for tesserae_engine-0.5.7-cp313-cp313-macosx_11_0_arm64.whl
tesserae_engine-0.5.7-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for tesserae_engine-0.5.7-cp312-cp312-win_amd64.whl
tesserae_engine-0.5.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for tesserae_engine-0.5.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tesserae_engine-0.5.7-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for tesserae_engine-0.5.7-cp312-cp312-macosx_11_0_arm64.whl

Total release size: 157.0 MB

Release files / tesserae_engine-0.5.7.tar.gz

Download URL tesserae_engine-0.5.7.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
3b7e88cfff52f2ab5b326a5402a4a7443742f363f4f0635257a4f78220c4b159
BLAKE2b-256 checksum
How to use checksums
b67197eb53bd4175eca95002fe30e12d89c57ca84fd24fb8aa66c1f10f7aaa6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / tesserae_engine-0.5.7-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tesserae_engine-0.5.7-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 15.2 MB
Tags CPython 3.15 CPython 3.15 free-threading Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
79909ae2ca2530e0f34b2be9db4865aee369f99c5372f73d2e272f0a09eec700
BLAKE2b-256 checksum
How to use checksums
ce58f22dedcc12517044e81e60af3394ccca3e864b1986405dbc8773831173bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / tesserae_engine-0.5.7-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tesserae_engine-0.5.7-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 15.2 MB
Tags CPython 3.15 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
7fe1e57dc655d811148232861de3423d15c51bda96af12569d19da7182f394c8
BLAKE2b-256 checksum
How to use checksums
ead57a9d0bd45761d2b114322012003a598f7975c6e73ec17efe32d09abdeed1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / tesserae_engine-0.5.7-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tesserae_engine-0.5.7-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 15.2 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
aca50245f778411b76fc7510b4b6467869a4f61f5894ecd37ccddbbfa8209c31
BLAKE2b-256 checksum
How to use checksums
362c069b0393fb58ec732e3024b206450f31a0678489a095be41bb1bab8edb17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / tesserae_engine-0.5.7-cp314-cp314-win_amd64.whl

Download URL tesserae_engine-0.5.7-cp314-cp314-win_amd64.whl
Size 10.7 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
6e1d7d721a6f6b3db08377a069dec2e729a9bfda3ae6f2b789045ab4b02b9df0
BLAKE2b-256 checksum
How to use checksums
a754e7b0df6bd2edd41f4f3d718774c31c1eef63d5653140503e52e472c260ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / tesserae_engine-0.5.7-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tesserae_engine-0.5.7-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 15.2 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
65d41b8be336d8e41b8c2157307de134d05f726ab407ec17174a44f6afe60574
BLAKE2b-256 checksum
How to use checksums
fa1457f05e85f46c9f2ffb08f2b2c838357e812807bc6148ac3b592ff96303ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / tesserae_engine-0.5.7-cp314-cp314-macosx_11_0_arm64.whl

Download URL tesserae_engine-0.5.7-cp314-cp314-macosx_11_0_arm64.whl
Size 10.3 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ea9eff238e924ccb5d53c44370b9fce620a0c021089f8f8b6c13381a7dc10625
BLAKE2b-256 checksum
How to use checksums
a0b137dac65ff988c5e5ce31c5c1ec1916ba88cef5913995745ab1f9f72bcff2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / tesserae_engine-0.5.7-cp313-cp313-win_amd64.whl

Download URL tesserae_engine-0.5.7-cp313-cp313-win_amd64.whl
Size 10.7 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
bd86d155dc08c16aeed2826337700a5dc2b3dea715bd5671c9536c1804cba534
BLAKE2b-256 checksum
How to use checksums
bc8f84fdd8f5f62fbe95bf6e1e9beb8ff0811e1a669f98fb490ef4449446e379
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / tesserae_engine-0.5.7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tesserae_engine-0.5.7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 15.2 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
8ec0204fcead7b45e9ab8f5d41299b5e7273655bb767ef0677dc5da01a9d72af
BLAKE2b-256 checksum
How to use checksums
0aee3d065b8b31f7feb7cd45ce36b198247c7efd8530637f1da7c6e08f90dce7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / tesserae_engine-0.5.7-cp313-cp313-macosx_11_0_arm64.whl

Download URL tesserae_engine-0.5.7-cp313-cp313-macosx_11_0_arm64.whl
Size 10.3 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7145aa94bc81e3679245875d70b1bca9d3f9fbc0ccdf6128bcd3101dc55e3b9e
BLAKE2b-256 checksum
How to use checksums
07a8760b145daba30e0051cd5c73a9a4cb6f98dd8e8a7330cc342f2f92336dea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / tesserae_engine-0.5.7-cp312-cp312-win_amd64.whl

Download URL tesserae_engine-0.5.7-cp312-cp312-win_amd64.whl
Size 10.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
95e1527d03b8390ebd730b7e60f2cb646305baafcfbfffe8c3cf442d2777a73b
BLAKE2b-256 checksum
How to use checksums
935058e3846997c542c8f5a410a13cfe48a1dc5c745af1591ac576e781120ad4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / tesserae_engine-0.5.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tesserae_engine-0.5.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 15.2 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
2f552eb0df35aa85544a84d9989c84aceb66a84c52c362d8e6959b255bf4d116
BLAKE2b-256 checksum
How to use checksums
073c1e155b84bff723c5fb23a5745d94d9923626eaa520fe21106e40255e2fbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / tesserae_engine-0.5.7-cp312-cp312-macosx_11_0_arm64.whl

Download URL tesserae_engine-0.5.7-cp312-cp312-macosx_11_0_arm64.whl
Size 10.3 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
aa066d53b77b209b9da59c46f786f559144287cc54094cd1269a00a0f4795ebf
BLAKE2b-256 checksum
How to use checksums
a2ec9eb11110daf7082180f8bafd441edbf0d704d5d63a8d7890653f51ec10f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Security for tesserae-engine 0.5.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 13 files in this release have been uploaded with provenance metadata.

Select from 13 files

Attestation for tesserae_engine-0.5.7.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.7 This release

13 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page