tiny_pacs_admin_web
Browser-based administration console for tiny_pacs: a small web UI served from inside the server process for administering a live PACS — login, dashboard, device and user management and read-only archive browsing — without shell access or YAML editing.
What it provides
The AdminWeb component — a bottle application contributed to the core shared HttpServer component (answered through the HttpAppsRegistry event, mounted on the root prefix /). It runs no server of its own: binding, the waitress worker pool and every bind-level policy live in the core server, and the documented deployment is a TLS-terminating reverse proxy in front of it.
The tiny-pacs web-admin grant|revoke|list subcommands managing the console’s own grant table offline through the core headless admin runtime.
Event-based only: every administration action is a core event on the bus (UserVerify, the device/user CRUD events, the archive query events, GetClient, the database and storage inspection events). The runtime package imports the core only — whichever extension provides the listeners (the first-party admin/identity packages or any future replacement) is an installation concern, never an import concern. Missing listeners degrade pages to “not available”; they never produce stack traces.
Access control
A user may log in only with valid PACS credentials (verified through UserVerify) and a console grant:
tiny-pacs web-admin grant alice --role admin
tiny-pacs web-admin grant bob --role viewer
tiny-pacs web-admin list
tiny-pacs web-admin revoke bob
admin may use every page and mutation; viewer gets read-only pages (every POST is rejected with 403; the archive browser is read-only for both roles). Sessions live in memory (single-process by design) and are protected by HttpOnly/SameSite=Strict cookies, per-session CSRF tokens, login throttling with exponential backoff and a self-only Content-Security-Policy.
Installation
pip install tiny-pacs-admin-web
Requires tiny_pacs >=0.4,<0.5 and bottle. HTTP serving comes from the core HttpServer component and its tiny_pacs[http] extra (waitress), which tiny_pacs[web-admin] implies. Installing the extension never changes server behaviour: the component stays disabled until enabled in the configuration.
Configuration
components:
HttpServer: # core: shared by every HTTP front-end
on: true
host: 127.0.0.1 # reverse-proxy pattern; waitress has no TLS
port: 11113
allow_remote: false # refuses non-loopback binds unless true
threads: 16 # the single waitress worker pool
AdminWeb:
on: true
secure_cookie: true # mark cookies Secure behind the TLS proxy
session_ttl: 3600 # session idle timeout, seconds
max_sessions: 100
max_login_failures: 5 # before the exponential backoff starts
expose_users_to_viewer: false
The console needs a user registry answering UserVerify (e.g. the Users component of tiny-pacs-identity); without one the component warns and mounts no console app — the shared server and the DICOM AE keep running. A port that cannot be bound is logged as CRITICAL by the core HttpServer and disables only the HTTP server, never the AE.
Documentation
See the Web administration tutorial in the tiny_pacs documentation, including the TLS-terminating reverse-proxy recipe.
Metadata
Release files for tiny-pacs-admin-web 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| tiny_pacs_admin_web-0.1.0.tar.gz | 35.0 kB | With provenance | Details for tiny_pacs_admin_web-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tiny_pacs_admin_web-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for tiny_pacs_admin_web-0.1.0-py3-none-any.whl |
Total release size: 76.2 kB
Release files / tiny_pacs_admin_web-0.1.0.tar.gz
| Download URL | tiny_pacs_admin_web-0.1.0.tar.gz |
|---|---|
| Size | 35.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf262467790bb63942cf83847bf52cc919fa24ae2113911f4f656a3257394e67
|
|
BLAKE2b-256 checksum How to use checksums |
f0622fdb030b69bf39f1e46d7150240e45e0255bf11c9da47772a20c811c81b6
|
| 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 Oct 4, 2026.
Transparency logRelease files / tiny_pacs_admin_web-0.1.0-py3-none-any.whl
| Download URL | tiny_pacs_admin_web-0.1.0-py3-none-any.whl |
|---|---|
| Size | 41.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4735eda2291b7ddc11b54801fe043ff1e9e50ed4aa9cef9270092d21034bd3e1
|
|
BLAKE2b-256 checksum How to use checksums |
6854194577d9fede4fd47593eb481b65c4db338a9f7096c394e520437a4ad45f
|
| 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 Oct 4, 2026.
Transparency logSecurity for tiny-pacs-admin-web 0.1.0
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for tiny_pacs_admin_web-0.1.0.tar.gz
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 Oct 4, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.