Skip to main content

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

tiny_pacs_admin-0.1.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tiny_pacs_admin-0.1.0-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

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

Hashes for tiny_pacs_admin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f1247baa26a2b534b55c4162ca2f849ad5bd2ce50982dc4c36e4986d51a2273c
MD5 5d92a8541b6d942faaea6f7505c1570c
BLAKE2b-256 15a602592bc2f7b3bd5c1fc0ad20863545383e67eaaea500e2ce9a1d7b13d717

See more details on using hashes here.

Provenance

The following attestation bundles were made for tiny_pacs_admin-0.1.0.tar.gz:

Publisher: publish.yml on blanebf/tiny_pacs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tiny_pacs_admin-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tiny_pacs_admin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f3745407eac41d3d746e4073b75c937fc9f0bbfe73bfb0d1fca5f7dec9cfd3a
MD5 8b0970795129160abeb05a434873a924
BLAKE2b-256 8fa72768b504eecd31de23d9a1d2b32e2b52d716f937ce99ed0fb2db24a050cd

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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