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, on Wayland, bars, panels and menus placed by the compositor — 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.10

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.10
File Size Uploaded Provenance Actions
tesserae_engine-0.5.10.tar.gz 2.8 MB With provenance Details for tesserae_engine-0.5.10.tar.gz

Built distributions (wheels)

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

Total release size: 161.5 MB

Release files / tesserae_engine-0.5.10.tar.gz

Download URL tesserae_engine-0.5.10.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
f9df9ab2739b5aea57c2ec2dacdababc69424c2464ce657812525b3936dbc31e
BLAKE2b-256 checksum
How to use checksums
98dfb71a77db3124234c8a6f0893c33afe4fb18270e2a6dd4dc35bb2d75b30d2
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 Nov 3, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.10-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 15.8 MB
Tags CPython 3.15 CPython 3.15 free-threading Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
ff5e4315e245d43f13091102fcd31f1f3a5608eb046104b08e642f59454412ec
BLAKE2b-256 checksum
How to use checksums
94ab6a6101cb01fc08334bff7b7118f4970bed8a8dd17a608421f9eb78734783
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 Nov 3, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.10-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 15.8 MB
Tags CPython 3.15 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
314091c8b7867c91025b174a11628479fe8da3312ef3c3df73c3f96ea2577c04
BLAKE2b-256 checksum
How to use checksums
e8681d5c18b6f548c8642408baa4868f12d03bf9dd1de57c0f1a0bc297e20dfa
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 Nov 3, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.10-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 15.8 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
d0cc8700066525797ffb3a937515db00f7acc89cc927bb41e946197c7eb8e108
BLAKE2b-256 checksum
How to use checksums
cb6d18a8370bd3c7f2fed70283e2279665c6cce1759de995937f3aec51ece1c2
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 Nov 3, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.10-cp314-cp314-win_amd64.whl
Size 10.9 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
2c08911f765af8cd2cd97e54cb0d8a34e4d819dcbe028d65c7f1ed7fd32e4e5e
BLAKE2b-256 checksum
How to use checksums
b4f61222e3eca2a6445531671456bdb4ab70ffd039e255a964e9a9c736332f0d
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 Nov 3, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.10-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 15.8 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
933709835119d87d34e50d3501d65a7c497b866ce522dfa30f3fa90f026f8b98
BLAKE2b-256 checksum
How to use checksums
6758fda701fd25a48ea83af0d528f874d58ae785759bf0ac5a907e8e65808fdc
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 Nov 3, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.10-cp314-cp314-macosx_11_0_arm64.whl
Size 10.4 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2541b71bb7ea7686c676c27ec8639c3f6abb6765e282f2761ef180280136b565
BLAKE2b-256 checksum
How to use checksums
14776ddd292e5d21f90bcb1c022cf7a1db3442e41a5988567ac6acee65f098b5
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 Nov 3, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.10-cp313-cp313-win_amd64.whl
Size 10.9 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
a42a026e7c1032a2ddacad1817dafe05c514e3933a5345fd88f45dc273e4e25b
BLAKE2b-256 checksum
How to use checksums
1013f62290997c7b48829f4c600faa9ed746cc7f4f97f459e9f5092bec8b0504
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 Nov 3, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.10-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 15.8 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
496cbfbd03aa49b1fc14702ecbc183a14c05a32fd6f8dcc740200763b8410b49
BLAKE2b-256 checksum
How to use checksums
140a1607ac5804a37feec3ffe2fbec8b75d32a21de953d5f097b7e56c46657e5
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 Nov 3, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.10-cp313-cp313-macosx_11_0_arm64.whl
Size 10.4 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c531da6f20f4ba18677e35261c96599c114679bda568bb41250e0ceabd143d02
BLAKE2b-256 checksum
How to use checksums
8127b06ed440916defa93981f413a7d0e152f30d34cbfbf2a5173da62fc5a4af
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 Nov 3, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.10-cp312-cp312-win_amd64.whl
Size 10.9 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
51f3dc3f57d2a0677a3ce7d75a77458cd1dbc676c7fbf61543edb2b7b8a5fe78
BLAKE2b-256 checksum
How to use checksums
8bbb3c49660ef16a5feff6a67eeb31602283624a5d7b90230222dedbebedb5b7
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 Nov 3, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.10-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 15.8 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
f5db90c7f9bc5ad9e0351a5ffb762c6922e51ee981d591ae7b771d4feb5f2386
BLAKE2b-256 checksum
How to use checksums
752fd31c0820c2d7deaa6d516fe72262c0fa7914308c638ae4cae61feede6c83
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 Nov 3, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.10-cp312-cp312-macosx_11_0_arm64.whl
Size 10.4 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
051d8fca27d5fe4332a5def8f24dfd8bed21b51615ea2673e0bf8b6c09934e93
BLAKE2b-256 checksum
How to use checksums
e7990cefceb82810c916628c37a8f71de53830921f7682d046efca0b844f409e
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 Nov 3, 2026.

Transparency log

Security for tesserae-engine 0.5.10

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.10.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 Nov 3, 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.10 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