✨ Lila Framework v2.0.0 is Live • Rebuilt from Scratch

Full-Stack Python SPA Experience

lightweight (~19MB import, ~42MB app), Zero-Infrastructure with async SQLite WAL mode, native View Transitions routing ( lila-client.js), unified AI helper with PII masking, and 1-command desktop builds.

Zero-Infrastructure & AI-First Architecture

Lila v2.0 is engineered for the 95% of real-world projects that want high performance without devops bloat. Run SQLite in WAL mode with In-Memory LRU cache by default, and scale optionally to Redis or PostgreSQL whenever needed.

⚡

SPA View Transitions Runtime

Zero build-step client (lila-client.js) intercepts links, prefetches on hover, and transitions views smoothly with native browser APIs.

* Pure ASGI stack on Starlette + Pydantic v2 + SQLAlchemy 2.0 Async.

bash
$ pip install lila-framework
$ lila init
$ lila dev # Hot-reload web server
$ lila desktop dev # Native desktop window
$ lila desktop build # Compile .exe binary
⚡ Lila v2.0.0 Active (Pure ASGI)

Core Pillars of Lila v2.0

Everything you need to build full-stack web and desktop applications with Python.

⚡

SPA View Transitions

Native browser View Transitions API integration via lila-client.js. No Node.js build step, instant prefetch, and reactive Tailwind UI components.

🤖

AI Helper & PII Masking

Unified client for OpenAI, DeepSeek, and Gemini with reversible sensitive data masking ([email_01]), prompt cache hits, and rate limiting.

🖥️

Desktop in 1 Command

Run your web application inside a native desktop window (lila desktop dev) and compile standalone executables (lila desktop build).

💾

Zero Infrastructure

Async SQLite WAL mode + in-memory LRU cache by default. Scale seamlessly to Redis, PostgreSQL, or MySQL with simple configuration flags.

🔐

OAuth 2.0

Instant Google, GitHub, and Discord OAuth with official vector SVG buttons, Argon2 password hashing, and auto-mounted routes.

📊

Admin 2.0 & Telemetry

Full interactive CRUD for any model, CSV data export, live memory/CPU telemetry, and on-click cache purges in a persistent SPA sidebar.