OpenAdmin
Admin dashboards as FastAPI routes. No templates, no frontend project, no config files.
OpenAdmin is a FastAPI-native library for building admin panels. A page is a router, a widget is an endpoint — stats, tables, forms, actions, and charts, defined with typed decorators in plain Python.
from openadmin import spec
from openadmin.fastapi import AdminPage, AdminPanel
page = AdminPage("Dashboard", icon="layout-dashboard")
@page.stat("Total Users")
async def total_users() -> spec.Stat:
return 1_024
@page.table("Recent Users")
async def recent_users() -> spec.Table:
return {
"data": [
{"id": 1, "name": "Alice", "role": "admin"},
{"id": 2, "name": "Bob", "role": "viewer"},
]
}
admin = AdminPanel("My Admin")
admin.section("General", pages=[page])
from fastapi import FastAPI
app = FastAPI()
app.mount("/admin", admin.app)
Each decorated function is a normal FastAPI handler — dependency injection, Query/Body parameters, and OpenAPI docs all work as they would on any route.
Installation
pip install openadmin
# or
uv add openadmin
Documentation
Everything else — the full component reference, authentication, and worked cookbook recipes — lives at:
openadmin-team.github.io/openadmin-py
- Getting Started — build a minimal panel end to end
- Components — stats, tables, forms, actions, and charts
- Authentication — gate the panel behind a login screen
- Cookbook — recipes for row actions, reference fields, and auth
Development
# Run the example app
make dev/example
# Run all checks (format, lint, types, tests, security)
make check
# Auto-fix formatting and lint issues
make fix
License
AGPL-3.0-or-later — © 2026 OpenAdmin
Release files for openadmin 0.7.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openadmin-0.7.20.tar.gz | 1.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openadmin-0.7.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.7 MB
Release files / openadmin-0.7.20.tar.gz
| Download URL | openadmin-0.7.20.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac0191eba226db19ddf3708b7e22fe65c9e5ab933c8f1ff3b8d7f103eda30360
|
|
BLAKE2b-256 checksum How to use checksums |
aab0b091b21dd2418347634f5f203de6aed4d62b85a41326b02b09bfb731d4bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.
Transparency logRelease files / openadmin-0.7.20-py3-none-any.whl
| Download URL | openadmin-0.7.20-py3-none-any.whl |
|---|---|
| Size | 794.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2eabc3b74a6dabbedbad766ed8ee7df39a6068a6dfc1671dc3c63fb7af82ddf
|
|
BLAKE2b-256 checksum How to use checksums |
8ef92dc8a1f71d464dbc870d18883624f34dc02419d4156b6cd056abbc2230d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.
Transparency log