Administration extension for tiny_pacs: an offline admin CLI and a database-backed device registry.
What it provides
The DeviceStore component — keeps remote DICOM devices in the database, working in tandem with the built-in Devices component. Devices carry a per-device identity policy (none, username, password); auto-added devices receive configurable defaults.
New tiny-pacs subcommands:
tiny-pacs devices list|add|update|remove|echo — manage the devices stored in the database (--format json|yaml supported);
tiny-pacs components list — registry contents with origin (built-in vs providing distribution) and enabled/disabled state;
tiny-pacs db info — schema versions and table row counts.
Installation
pip install tiny-pacs-admin
or with the convenience extra:
pip install tiny_pacs[admin]
Installing the extension never changes server behaviour: the DeviceStore component stays disabled until enabled in the configuration, and the CLI subcommands are additive.
Configuration
Enable the component and optionally tune the defaults applied to auto-added devices:
components:
DeviceStore:
on: true
default_identity: none # none | username | password
default_port: 11112
The administration commands work offline against the configured database. Administration against SQLite requires a file-based database — set db_name and mode: rwc on the Database component (the in-memory default cannot persist data between command invocations):
components:
Database:
on: true
db_name: pacs.db
mode: rwc
The YAML-configured devices of the Devices component are imported into the database at server start (upsert by AE title), so the configuration remains the source of truth for configured devices. When using DeviceStore, disable auto_add on the Devices component so newly seen devices are only bookkept in the database.
Documentation
See the Administration tutorial in the tiny_pacs documentation.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tiny_pacs_admin-0.1.0.tar.gz.
File metadata
- Download URL: tiny_pacs_admin-0.1.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1247baa26a2b534b55c4162ca2f849ad5bd2ce50982dc4c36e4986d51a2273c
|
|
| MD5 |
5d92a8541b6d942faaea6f7505c1570c
|
|
| BLAKE2b-256 |
15a602592bc2f7b3bd5c1fc0ad20863545383e67eaaea500e2ce9a1d7b13d717
|
Provenance
The following attestation bundles were made for tiny_pacs_admin-0.1.0.tar.gz:
Publisher:
publish.yml on blanebf/tiny_pacs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tiny_pacs_admin-0.1.0.tar.gz -
Subject digest:
f1247baa26a2b534b55c4162ca2f849ad5bd2ce50982dc4c36e4986d51a2273c - Sigstore transparency entry: 2702999571
- Sigstore integration time:
-
Permalink:
blanebf/tiny_pacs@5434d2057cd43a316e536178a91d99de6ace4b19 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/blanebf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5434d2057cd43a316e536178a91d99de6ace4b19 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file tiny_pacs_admin-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tiny_pacs_admin-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f3745407eac41d3d746e4073b75c937fc9f0bbfe73bfb0d1fca5f7dec9cfd3a
|
|
| MD5 |
8b0970795129160abeb05a434873a924
|
|
| BLAKE2b-256 |
8fa72768b504eecd31de23d9a1d2b32e2b52d716f937ce99ed0fb2db24a050cd
|
Provenance
The following attestation bundles were made for tiny_pacs_admin-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on blanebf/tiny_pacs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tiny_pacs_admin-0.1.0-py3-none-any.whl -
Subject digest:
7f3745407eac41d3d746e4073b75c937fc9f0bbfe73bfb0d1fca5f7dec9cfd3a - Sigstore transparency entry: 2702999658
- Sigstore integration time:
-
Permalink:
blanebf/tiny_pacs@5434d2057cd43a316e536178a91d99de6ace4b19 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/blanebf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5434d2057cd43a316e536178a91d99de6ace4b19 -
Trigger Event:
workflow_dispatch
-
Statement type: