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.
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
Reactive state
Keep application state in Python and update the browser as state changes.
Explore state →Composable UI
Build interfaces from layouts, primitives, forms, data views, and interactive components.
Browse components →Routing
Organize multi-page applications with Python-first routing and navigation.
Read routing docs →Theming
Control appearance with the PyLage styling system instead of a separate frontend stack.
Explore styling →Server-driven runtime
Keep application behavior on the server while synchronizing interactive browser state.
Understand the runtime →Production ready
Move from a local prototype to deployment with the same Python application model.
Deploy PyLage →One stack. One language.
PyLage is designed around the idea that application logic and interface composition should not require separate frontend and backend projects.
Install PyLage and start building.
Requires Python 3.10 or newer.
pip install pylage