Python · DaisyUI · 0build

Build the web
in Python

Trunco is a component framework for Python backends. Swap UI kits with one import — ship HTML from composable objects.

UI Kits
2
DaisyUI + 0build
Components
40+
Forms & UI
Runtime deps
0
Core library
Kits

Swap with one import

Same names — Button, Form, Alert — across DaisyUI and 0build.

HTMX

Hypermedia-ready

First-class hx-* attributes on every component.

Themes

Custom palettes

Register DaisyUI themes or 0build palettes at runtime.

Button

Same API — different CSS kits.

DaisyUI0build
daisy.py
from trunco.daisy import Button

Button(label="Get started", color="primary")
zbuild.py
from trunco.zbuild import Button

Button(label="Get started", color="primary")

Install

bash
uv pip install trunco
This documentation site is built with Trunco.