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
Metadata
Release files for openadmin-dev 0.7.25
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openadmin_dev-0.7.25.tar.gz | 1.9 MB | With provenance | Details for openadmin_dev-0.7.25.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openadmin_dev-0.7.25-py3-none-any.whl | Python 3 | none | any | Details for openadmin_dev-0.7.25-py3-none-any.whl |
Total release size: 2.7 MB
Release files / openadmin_dev-0.7.25.tar.gz
| Download URL | openadmin_dev-0.7.25.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5f638aae651fe2c945471f885dce5cc5aab5b4d088584db99ad89de6b473a2d
|
|
BLAKE2b-256 checksum How to use checksums |
bf44d573e30b2e92f5092f8677a51790fc192512e2b2532d36ab399e08daf8e9
|
| 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 Sep 26, 2026.
Transparency logRelease files / openadmin_dev-0.7.25-py3-none-any.whl
| Download URL | openadmin_dev-0.7.25-py3-none-any.whl |
|---|---|
| Size | 805.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae4213739047c16e70093a78e968f979dc831ea19e6d07df692cc1a1d6adc899
|
|
BLAKE2b-256 checksum How to use checksums |
7ec44f19c39afeb44f0e00bed4c26b2af8e091be914176056e4f00945c00c25e
|
| 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 Sep 26, 2026.
Transparency logSecurity for openadmin-dev 0.7.25
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for openadmin_dev-0.7.25.tar.gz
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 Sep 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.