Skip to main content

tiny_pacs_dicomweb

DICOMweb (PS3.18) front-end for tiny_pacs: query, retrieve and store DICOM objects over HTTP/JSON — QIDO-RS, WADO-RS (+ WADO-URI) and STOW-RS — served from inside the PACS server process, beside the DIMSE AE.

What it provides

  • The DICOMWeb component — a bottle application contributed to the core shared HttpServer component (answered through the HttpAppsRegistry event, mounted at the configurable prefix, default /dicomweb). 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.

  • QIDO-RS: GET {prefix}/studies, GET {prefix}/studies/{uid}/series and .../series/{uid}/instances with the standard matching parameters (PatientID, StudyDate ranges, ModalitiesInStudy, UID keys, limit/offset, includefield) answered as DICOM JSON serialized from the archive’s own DICOM view — the same data the C-FIND front-end serves.

  • WADO-RS / WADO-URI: study/series/instance retrieval streamed as multipart/related (or single application/dicom) from the storage components; the stored transfer syntax only in v1 (406 where an Accept/transferSyntax cannot be matched). GET {prefix}/wado?requestType=WADO&... serves the URI form on the same code path — the attach point of a future web viewer.

  • STOW-RS: POST {prefix}/studies[/{studyUID}] pushes DICOM objects through the existing store pipeline (GetFile + StoreDataset with origin='stow'), answering the PS3.18 H per-instance success/failure summary with status 200 (all stored), 202 (partial) or 409 (all failed) — never 500s for broken parts. Deflated-transfer-syntax parts are refused without inflating them (bounded parsing).

Event-based only: queries travel on the archive query events (ArchiveStudyQuery a.s.o.), retrieval on GetFiles, storage on GetFile/StoreDataset, basic auth on UserVerify and service actions announce themselves through AuditRecord. The runtime package imports the core only — whichever extension provides the listeners is an installation concern, never an import concern.

Authentication

auth: none (default) for the authenticating-reverse-proxy pattern; auth: basic checks credentials through the core UserVerify event and fails closed when no user registry is installed (the component then mounts no app at all); auth: token accepts configured static bearer tokens for service-to-service use. Failures answer 401 with no body details. Every non-none deployment belongs behind TLS.

Installation

pip install tiny-pacs-dicomweb

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[dicomweb] 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
  DICOMWeb:
    on: true
    prefix: /dicomweb      # mount point on the shared server
    auth: none             # none | basic | token
    tokens: []             # static bearer tokens for auth: token
    max_part_size: 67108864    # STOW request body byte cap

Documentation

See the DICOMweb tutorial in the tiny_pacs documentation, including the TLS-terminating reverse-proxy recipe.

Metadata

Release files for tiny-pacs-dicomweb 0.1.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 tiny-pacs-dicomweb 0.1.0
File Size Uploaded Provenance Actions
tiny_pacs_dicomweb-0.1.0.tar.gz 31.5 kB With provenance Details for tiny_pacs_dicomweb-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tiny-pacs-dicomweb 0.1.0
File Interpreter ABI Platform Actions
tiny_pacs_dicomweb-0.1.0-py3-none-any.whl Python 3 none any Details for tiny_pacs_dicomweb-0.1.0-py3-none-any.whl

Total release size: 67.5 kB

Release files / tiny_pacs_dicomweb-0.1.0.tar.gz

Download URL tiny_pacs_dicomweb-0.1.0.tar.gz
Size 31.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b7f34c2bd30f811ba26c5f476a48bd2ad5cc14847e88338fb279217a74fb3ebd
BLAKE2b-256 checksum
How to use checksums
19d86e096a9ae4c7c461ccdf03ffc49c91acace067349e5167997882b335f5cf
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 log

Release files / tiny_pacs_dicomweb-0.1.0-py3-none-any.whl

Download URL tiny_pacs_dicomweb-0.1.0-py3-none-any.whl
Size 36.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ae748b38965f472203bbaed40bbf67aa434f5d17796cf4cd71eafda3d59841f
BLAKE2b-256 checksum
How to use checksums
2b14954144828d75dbad11978b4cfc5cb8429ade0d6a5a703d2a9520a7a42cd1
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 log

Security for tiny-pacs-dicomweb 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.

Select from 2 files

Attestation for tiny_pacs_dicomweb-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 log

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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