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.8

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

Built distributions (wheels)

Table of built distributions (wheels) for tesserae-engine 0.5.8
File Actions
tesserae_engine-0.5.8-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.8-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tesserae_engine-0.5.8-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.8-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tesserae_engine-0.5.8-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.8-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tesserae_engine-0.5.8-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for tesserae_engine-0.5.8-cp314-cp314-win_amd64.whl
tesserae_engine-0.5.8-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.8-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tesserae_engine-0.5.8-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for tesserae_engine-0.5.8-cp314-cp314-macosx_11_0_arm64.whl
tesserae_engine-0.5.8-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for tesserae_engine-0.5.8-cp313-cp313-win_amd64.whl
tesserae_engine-0.5.8-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.8-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tesserae_engine-0.5.8-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for tesserae_engine-0.5.8-cp313-cp313-macosx_11_0_arm64.whl
tesserae_engine-0.5.8-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for tesserae_engine-0.5.8-cp312-cp312-win_amd64.whl
tesserae_engine-0.5.8-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.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tesserae_engine-0.5.8-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for tesserae_engine-0.5.8-cp312-cp312-macosx_11_0_arm64.whl

Total release size: 160.7 MB

Release files / tesserae_engine-0.5.8.tar.gz

Download URL tesserae_engine-0.5.8.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
5ee56a9a0d632aeba91c63681c6f5863534de7ba45ad3f4b3a5666d0b6fe96d3
BLAKE2b-256 checksum
How to use checksums
31aeec57e39269d245ad4d202d189c94820edc88110dea6331f5e49bdc4f528c
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 25, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.8-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 15.7 MB
Tags CPython 3.15 CPython 3.15 free-threading Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
1d5cafa77715b82573d1051a8fc293c7ab03ead829942cda1987aeb1fce32b15
BLAKE2b-256 checksum
How to use checksums
10fb7d4f0d045bb5fc90e69631c2692dac76a803d600078b00097ea0f7de6c5c
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 25, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.8-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 15.7 MB
Tags CPython 3.15 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
5fc55ed18c6819fbae957d2b3d524555a1f0500c8ad248cb91aeadf40f4184a3
BLAKE2b-256 checksum
How to use checksums
9601688c18fc6fa900f050f86d0e2cc5f917aff19b0cc946e44c13fe485ebc7e
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 25, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.8-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 15.7 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
33ed85313b60c7e3d88cb2ebc0891f5c0a0f390431525e9dfd45f8cb931684a3
BLAKE2b-256 checksum
How to use checksums
0143f76d1bb2c39a7d639d9e745ca6aeccbaa85585b09bde7d4162451a1826c5
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 25, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.8-cp314-cp314-win_amd64.whl
Size 10.8 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
ab5484895c66a6e2a9f56185c9e0b344a2a5d6b93ed21f30efba2766149ddd1e
BLAKE2b-256 checksum
How to use checksums
2b0dc50b66f8a50a1269d2bc7dc7d2cf996c708a70245e5515a7e918c74d550b
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 25, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.8-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 15.7 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
ea9900b3b6d20e33d90bc6f93981e3fab40fe6a0aac2e2b427b2b083782eddcf
BLAKE2b-256 checksum
How to use checksums
a805a95e323adf4f930605e9ff60a9f79169fe886a4d4218fe956772963be40d
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 25, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.8-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
995a8a621135ec4b57b8a01353ef06319dbf094e0d619fd531ca619f9f2c8946
BLAKE2b-256 checksum
How to use checksums
1c758043787ddf1fce5ae716f4db3570ee1a5b68ce101c94c0a12e090abc2cb9
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 25, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.8-cp313-cp313-win_amd64.whl
Size 10.8 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
b2ab2b0f77b1f220fdefaa46626136092945578c76634b7dbea0e89dfd43e90f
BLAKE2b-256 checksum
How to use checksums
47934a532eb0f4cffec9c24083bc9e9f990cb801660e8f300dbe88e243c9c65e
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 25, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.8-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 15.7 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
0549ecf09343c19e1afebea6800ef834aa9d480ffec331b59643b1f25adfa351
BLAKE2b-256 checksum
How to use checksums
0737b46bac1a2afa5a50b4bf9e8da61d5913e7c6a11478fda82463e126bec7b3
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 25, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.8-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
b22a543b1037a78121464615908b74b5484788530afb71f02c9f1541bab552b5
BLAKE2b-256 checksum
How to use checksums
adddeb0924b3201b2b3f2cfeeb5b0b1d7b1b65f0228b55487bf53216a4f39b25
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 25, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.8-cp312-cp312-win_amd64.whl
Size 10.8 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
911189d30f6571e4be05e230ccf46d86156d70b5ec4c83d19d842d9d026978b5
BLAKE2b-256 checksum
How to use checksums
e7e6e0d57f1080e0b721f5ffd98f0e832accc636efbd60ebfedd18e1fdbf7e95
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 25, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 15.7 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
fec4c7bb40678438e88825adba97294bb30039db5921b4edf99bd7bd6a421fcc
BLAKE2b-256 checksum
How to use checksums
de60c7c2c6fdd4cec77ac134ed6d1b8a0c544b6adbc447c90ef0d8702ca38459
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 25, 2026.

Transparency log

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

Download URL tesserae_engine-0.5.8-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
d99853fb891a4ba156466d86985f1bc7ac4bada59162789f6a52c9ccb87bfb12
BLAKE2b-256 checksum
How to use checksums
cea8f8211c3fb343541d639f8094683ca9576e02cb1b003cbf2c0a937bc79ca8
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 25, 2026.

Transparency log

Security for tesserae-engine 0.5.8

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.8.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 25, 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.8 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