Skip to main content

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)

Source distribution for patera-admin 0.11.0
File Size Uploaded
patera_admin-0.11.0.tar.gz 717.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for patera-admin 0.11.0
File Interpreter ABI Platform
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}

Release history Release notifications | RSS feed

0.11.1

2 release files

This release

0.11.0 This release

2 release files

0.10.0

1 release file

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.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