Python for web and native apps
Oxid
Write reactive apps in Python for the browser, desktop and Android. Signals, memos and effects update the parts of the interface that read them. Build a static website, bundle a native app, or add HTTP handlers with the included oxid-server. The browser runs Oxid's own Python runtime compiled to WebAssembly; native apps use the same runtime with a native renderer.
uvx oxid build myapp/ --out site/Learn it
The Academy chapters: reactive views, routing, servers, native apps and the compiler.
Gallery
Example apps built with the real command, with dated browser and desktop measurements.
Playground
Write Python, press Run, watch it render. Nothing is installed and nothing is sent anywhere.
Desktop apps
Download Notes for macOS, Windows and Linux; bundle your own Python app with oxid native bundle.
Android apps
Package the same app as an APK with oxid native apk and the Android SDK.
HTTP server
HTTP routes, sessions, authentication and WebSockets, with handlers on Oxid's runtime or CPython.
Native compiler
Compile a typed Python subset through Rust into a native binary or WebAssembly, without an interpreter.
VS Code extension
Completion and checks inside a template string, the snippets, and the errors the browser runtime would raise — before you run it.
A counter, whole
from oxid import Signal, component, html, mount
@component
def counter():
count = Signal(0)
def inc(ev):
count.update(lambda n: n + 1)
return html(t"""
<button on:click={inc}>clicked {count} times</button>
""")
mount(counter, "#app")Current release: 0.28.0. Python 3.14 is required for the tooling. Browser builds are static files and need no Python installation on the visitor's machine. Desktop and Android bundles include the runtime. Ahead-of-time compilation is a separate typed subset.
Free to use · the wheels of every release stay at /dist/, because the chapters and their apps pin one by URL.