Define your resources in Python. Get a searchable, customizable administration interface without writing CRUD screens.
Python 3.11+ · FastAPI · SQLAlchemy 2.x · React 19 · TypeScript · MIT
1.0.0b2 · Second public beta · Get started · Documentation · API reference
Pyntral attaches a React single-page administration UI to an existing FastAPI application. SQLAlchemy mappings provide field types, relationships, and validation metadata; Python owns authentication, authorization, CRUD operations, and custom actions. React renders responsive forms, tables, filters, and extension components.
Model-driven CRUD — register SQLAlchemy models, configure fields and relations, and manage records through one API.
Practical filtering — type-aware operators, numeric/date ranges, enum include/exclude, and searchable foreign keys.
Built to extend — nested groups, custom pages, record actions, dialogs, field renderers, and a shared React component kit.
Python-configured branding — centered or split login, public light/dark theme configuration, sidebar layouts, SVG and theme-specific image logos, dynamic Lucide icons, configurable sizing, and optional TSX header/footer/item slots.
Authentication and access controls — local credentials, SQLAlchemy-backed users, external identity callbacks, role thresholds, field visibility, and server-side authorization.
Typed Python ↔ React operations — authenticated Pydantic bridges with generated TypeScript clients.
Event-oriented — metadata-only events with in-process, optional RabbitMQ, or optional Kafka transports.
Developer-friendly — uv workflows, Vite HMR, content-addressed frontend build caching in .pyntral/ , and structured logging.
Release status: The second beta targets single-worker integrations. Live PostgreSQL, broker and S3/MinIO deployments, along with multi-worker SSE, require validation in your environment. See release readiness .
Release status: The second beta targets single-worker integrations. Live PostgreSQL, broker and S3/MinIO deployments, along with multi-worker SSE, require validation in your environment. See release readiness .
For a regular installation, only Python 3.11+ is required. Node.js 22.12+ and npm are needed only to compile custom React extensions or develop Pyntral itself.
Open and sign in with the local account created by init-env . This demo seeds an example SQLite shop; it is not intended for real business data.
For live bridge types and VS Code autocomplete without rebuilding React:
For a production SPA build (ESLint checks on core and registered extensions, strict TypeScript and Vite):
Install the published Python package in a FastAPI application:
The default admin SPA is already compiled into the Python wheel . No npm install or pyntral build is necessary for normal SQLAlchemy resources, filters, auth, actions or declarative sidebar branding. See the minimal Python-only example .
For applications with custom TSX fields, pages, dialogs or themes, use the same Python dependency , plus Node.js at development/build time :
The resulting .pyntral/dist/ overrides the packaged generic SPA for that application. See custom extensions and publishing .
When working inside this repository , use uv sync --extra rabbitmq instead of adding Pyntral as its own dependency.
Define resources in Python
For deployable applications, supply secrets from environment variables and set secure_cookie=True under HTTPS. The complete runnable integration is in examples/shop/app.py .
Customize the sidebar
The packaged generic SPA reads this configuration from the API at runtime. See sidebar and icon API , UI customization , and sidebar TSX slots .
Your ORM definitions remain in Python. Resource metadata is delivered at runtime; adding another model does not require rebuilding React. Adding a new TypeScript extension does require the frontend compiler (handled by the CLI).
See the complete documentation index , changelog , and contribution guide .
The build command runs ESLint, TypeScript and Vite when developing custom frontend extensions. Release CI separately builds a generic SPA and bundles it in the PyPI wheel; consumers do not need Node.js for the standard admin. The tracked repository intentionally omits credentials, databases, generated assets, and uv.lock (to be generated and committed by the maintainer).
Never expose the admin API without authentication and HTTPS. Resource authorization is enforced server-side; hiding items is only a presentation choice. Event payloads contain identifiers and field metadata, not field values . Read security guidance before deploying; report vulnerabilities privately, not in public issues.
MIT . Pyntral is an independent project; it is not affiliated with AdminJS.
Build and run the production shop example (no Vite dev server):
The image build runs ESLint, strict TypeScript checking, and Vite. See the shop Docker example for setup and verification.
Add the Run checks label to start PR CI. It reruns on pushes while the label is present. Releases are published as Python wheels and source distributions on PyPI using GitHub OIDC Trusted Publishing. The compiled generic React SPA is packaged inside the Python distribution; no npm package is published. See release setup .
The sign-in screen also accepts Admin(login=LoginConfig(...)) , inherits the same application branding, and applies global theme tokens before authentication. See login customization .
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
