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.0
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.0.tar.gz | 717.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| patera_admin-0.11.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.5 MB
Release files / patera_admin-0.11.0.tar.gz
| Download URL | patera_admin-0.11.0.tar.gz |
|---|---|
| Size | 717.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a4175ca553e02f04f6c68e14cb86e077cb22609a9158abed1c0944c20bb51d7
|
|
BLAKE2b-256 checksum How to use checksums |
50c4e5f1cd770e424ecccff40501e912583bc3203b0099dad83ebd6879a214bb
|
| 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.0-py3-none-any.whl
| Download URL | patera_admin-0.11.0-py3-none-any.whl |
|---|---|
| Size | 743.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7cd3e4ea7519328d6e159466fe72e874238c778d88e6cf59b35f325a62a457d5
|
|
BLAKE2b-256 checksum How to use checksums |
7306ddfa3fc24812d5a91203ae2a5589090fd4cf6847d205ca792a69f7b0c079
|
| 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}
|