Skip to content
Cross-Inertia

Cross-Inertia

Build modern single-page apps with Python backends and React/Vue/Svelte frontends

🚀 Production Ready

Full implementation of the Inertia.js protocol including asset versioning, partial reloads, and history encryption.

⚡ Modern Stack

Works seamlessly with Vite, React, Vue, or Svelte. Hot module replacement in development, optimized builds for production.

🐍 Python Native

Built for FastAPI with plans for Flask, Django, and more. Type-safe API with full IDE support.

🧪 Well Tested

71% test coverage with 37 unit tests and 15 E2E tests. Tested on Python 3.10-3.14.

  • ✅ Full Inertia.js protocol support
  • ✅ Vite integration (dev & production)
  • ✅ Asset versioning for cache busting
  • ✅ Partial reloads & shared data
  • ✅ History encryption for sensitive data
  • ✅ External redirects (OAuth, payments, etc.)
  • ✅ TypeScript support
from fastapi import FastAPI
from inertia.fastapi import InertiaDep
app = FastAPI()
@app.get("/")
async def home(inertia: InertiaDep):
return inertia.render("Home", {
"message": "Hello from Inertia!"
})
FrameworkStatus
FastAPI / Starlette✅ Supported
Flask🔜 Planned
Django🔜 Planned

Ready to build your next app with Cross-Inertia? Check out our installation guide to get started!