Skip to main content
OpenAdmin

OpenAdmin

Admin dashboards as FastAPI routes. No templates, no frontend project, no config files.

PyPI Python FastAPI License

Documentation

OpenAdmin dashboard

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

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)

Source distribution for openadmin 0.7.20
File Size Uploaded
openadmin-0.7.20.tar.gz 1.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for openadmin 0.7.20
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

0.7.24

2 release files

0.7.21

2 release files

This release

0.7.20 This release

2 release files

0.7.19

2 release files

0.7.18

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page