Skip to content

PyLage

Simple, ultrafast, low-latency Python UI

PyLage is a Python-first, server-driven reactive UI framework. Build interactive web apps with pure Python components, reactive state, routing, themes, and live browser synchronization — without a separate frontend stack.

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)

Why PyLage

  • Python-first UI development
  • Server-driven reactive UI
  • Differential rendering and updates
  • Low-latency state updates
  • No frontend build system required
  • Session-based runtime architecture
  • Routing, themes, and production deployment support

Quick install

pip install pylage

Requires Python 3.10+. Current release: 1.0.6.

Getting started

  1. Installation
  2. First App
  3. Deployment
  4. Playground (interactive)

Project