patera-admin
Admin dashboard for Patera applications: logs, databases, files, e-mail and task managers. Part of Patera, a modular async-first Python web framework.
Installation
pip install patera-admin
# or, with uv
uv add "patera[admin]"
Requires Python 3.13 or newer and patera>=0.121.
Usage
patera-admin provides a web dashboard for logs, database models, files in the static folder, task
managers and e-mail clients. It requires an authentication middleware: users need
the roles from patera.admin.Permissions (ADMIN_CAN_ENTER plus
ADMIN_CAN_VIEW/CREATE/EDIT/DELETE).
from patera.admin import AdminConfig, AdminInterface
class Admin(AdminInterface):
MANAGED_MODELS = [Note]
class Config(BaseConfig):
...
ADMIN: AdminConfig = AdminConfig(
URL_FOR_FOR_LOGIN="AuthApi.login", URL_FOR_FOR_LOGOUT="AuthApi.logout",
)
See the Admin dashboard section of the Patera documentation for the full guide.
License
MIT. See LICENSE.
Metadata
Release files for patera-admin 0.11.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| patera_admin-0.11.1.tar.gz | 717.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| patera_admin-0.11.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.5 MB
Release files / patera_admin-0.11.1.tar.gz
| Download URL | patera_admin-0.11.1.tar.gz |
|---|---|
| Size | 717.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e89bcd477ecc32acca4dc184bed0aac7246654a3c31745a311ddd9354aad766
|
|
BLAKE2b-256 checksum How to use checksums |
1e4c61232883cc31eb9be42e0af73dc8174ec433a2582f7ce52f4d1cca773540
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / patera_admin-0.11.1-py3-none-any.whl
| Download URL | patera_admin-0.11.1-py3-none-any.whl |
|---|---|
| Size | 743.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ec8478e86e77fc93a2fa133a640a0f34abb12e5db27dbe9af5fced0dd028559
|
|
BLAKE2b-256 checksum How to use checksums |
e30697dc8cb4e941c83a8b7b9e7fc878983394e5f97af974ab032ee29421a841
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|