Skip to main content

dcm-processor-utils

dcm-processor-utils contains the shared helper functionality used across the dcm-processor platform.

It is the lowest-level common utility package among the modules we scanned.

Role In The Bigger Picture

This module is not a user-facing runtime on its own. Its value is that it keeps duplicated low-level logic out of the higher-level packages.

It currently provides shared behavior for things like:

  • device identification
  • archive and file handling
  • downloader/path classification logic
  • constants and settings enums

Other modules depend on it so they can share the same basic contracts and helper implementations.

Main Responsibilities

1. Archive And File Helpers

The module provides the shared file and archive handling logic used by other packages.

This includes:

  • zipping directories
  • extracting archives
  • safe archive extraction checks

2. Shared Downloader Helpers

The module now also owns the shared downloader logic for:

  • path classification
  • web and git download handling
  • archive extraction after download
  • locating dcm-processor.json
  • splitting version expressions

This keeps the CLI and DB-provider modules from carrying separate copies of the same download/extraction logic.

3. Device Identity

The package provides device identity helpers used by runtime modules to identify the local machine in a stable way where possible.

4. Shared Constants

The module exports shared constant types and app setting identifiers used throughout the platform.

Key Internal Areas

  • dcm_processor_utils/file_manager.py
    • zip and unzip helpers
  • dcm_processor_utils/downloaders.py
    • shared downloader and path classification logic
  • dcm_processor_utils/device_info.py
    • device identification helpers
  • dcm_processor_utils/constants.py
    • shared settings and constant values

Dependencies On Other Modules

This package is intentionally low in the dependency graph.

It is used by:

  • dcm-processor-cli
  • dcm-processor-db-provider
  • dcm-processor-job-scheduler
  • dcm-processor-worker
  • dcm-processor-service

What This Module Is Not

This package is not:

  • an application runtime
  • a worker
  • a scheduler
  • a DICOM server
  • a persistence layer

It is the shared infrastructure support package for the rest of the system.

Summary

Use this module for reusable low-level behavior that should stay consistent across the platform.

It exists to reduce duplication and keep the higher-level modules aligned on common helper logic.

Release files for dcm-processor-utils 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dcm-processor-utils 0.0.1
File Size Uploaded
dcm_processor_utils-0.0.1.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dcm-processor-utils 0.0.1
File Interpreter ABI Platform
dcm_processor_utils-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 kB

Release files / dcm_processor_utils-0.0.1.tar.gz

Download URL dcm_processor_utils-0.0.1.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bfb475f32cc8606bc533fc4dd65377ce8ec7f79924fe54a650353c52f5c2c47c
BLAKE2b-256 checksum
How to use checksums
330e8dd483bb8dc73a4b9a06aa6ca1d928836f6afc8315297858cd00fe01e7b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / dcm_processor_utils-0.0.1-py3-none-any.whl

Download URL dcm_processor_utils-0.0.1-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8ab7017af9a77e8161ec909f72e1e10fbbb6a589adbe863d35ce50cf282131b
BLAKE2b-256 checksum
How to use checksums
8540e223952eb0d5023b0f3d630ced72a074bfdd99198ad8f6c80a2df1528c49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.0.1 This release

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