HyperAdmin
A modern, Pydantic-native admin interface for FastAPI, powered by HTMX.
HyperAdmin is a framework for building administrative interfaces on top of FastAPI. It uses Pydantic for data validation and HTMX for dynamic UIs with minimal JavaScript.
Quick example
from fastapi import FastAPI
from sqlmodel import SQLModel, Field
from hyperadmin import Admin
from hyperadmin.core.registry import site
class Product(SQLModel, table=True):
id: int | None = Field(default=None, primary_key=True)
name: str
price: float
app = FastAPI()
admin = Admin(app, engine=engine)
site.register(Product)
admin.mount("/admin")
Where to go next
- Getting Started — Installation, prerequisites, and your first admin
- Tutorial — Step-by-step walkthrough building a complete app
- Examples — Two runnable example apps (simple + Bookkeeping ERP)
- Frontend — Templates, CSS tokens, widgets, and HTMX patterns
- API Reference — Full class and method documentation
Key features
- Pydantic-native — define admin interfaces directly from your models
- FastAPI integration — mounts seamlessly into any FastAPI app
- HTMX-powered — rich interactive UI without complex JavaScript
- SQLModel & SQLAlchemy — works out of the box with both ORMs
- Automatic CRUD — list, detail, create, and update views generated automatically
- Extensible — override templates, customize views, and add custom actions
Next: Getting Started