Skip to content
PYLAGE 1.0.8

Build reactive web apps.
Stay in Python.

A Python-first, server-driven UI framework for fast interactive applications with reactive state, routing, components, and browser synchronization.

Python 3.10+ Server-driven No frontend build system
A small API surface

From Python to UI in minutes.

Compose familiar Python functions into interactive interfaces. State, events, layout, and rendering stay in one application.

import pylage as pl

count = pl.state(0)

def increment():
    count.set(count.value + 1)

app = pl.column(
    pl.heading("Hello PyLage"),
    pl.text(count),
    pl.button("Increment", on_click=increment),
)

pl.run(app)

Everything you need to build

01

Reactive state

Keep application state in Python and update the browser as state changes.

Explore state →
02

Composable UI

Build interfaces from layouts, primitives, forms, data views, and interactive components.

Browse components →
03

Routing

Organize multi-page applications with Python-first routing and navigation.

Read routing docs →
04

Theming

Control appearance with the PyLage styling system instead of a separate frontend stack.

Explore styling →
05

Server-driven runtime

Keep application behavior on the server while synchronizing interactive browser state.

Understand the runtime →
06

Production ready

Move from a local prototype to deployment with the same Python application model.

Deploy PyLage →
Designed for Python developers

One stack. One language.

PyLage is designed around the idea that application logic and interface composition should not require separate frontend and backend projects.

Quick start

Install PyLage and start building.

Requires Python 3.10 or newer.

pip install pylage

Explore PyLage