Skip to main content

dcm-processor-cli

dcm-processor-cli is the main user-facing entry point for the dcm-processor platform.

It is the control-plane package that developers, operators, and maintainers use to:

  • create and initialize applications
  • install and uninstall services and workers
  • configure DICOM nodes, peers, services, workers, and app settings
  • start, stop, restart, and inspect application runtimes
  • authenticate against the package registry and publish packages

Role In The Bigger Picture

If the overall platform is viewed as a processing system, this module is the front door.

It does not ingest DICOM data itself and it does not execute processing code directly. Instead, it coordinates the other modules:

  • dcm-processor-db-provider for persistence and configuration storage
  • dcm-processor-worker for worker installation and execution
  • dcm-processor-dicom-server for DICOM ingestion
  • dcm-processor-job-scheduler for job orchestration
  • dcm-processor-utils for shared helper logic

When an application is started through the CLI, the runtime stack is assembled through those lower-level modules.

Main Responsibilities

1. Application Lifecycle

The CLI creates, initializes, starts, stops, restarts, backs up, restores, and inspects applications.

Key commands:

  • dcm-processor create
  • dcm-processor init
  • dcm-processor start
  • dcm-processor stop
  • dcm-processor restart
  • dcm-processor status
  • dcm-processor logs
  • dcm-processor backup
  • dcm-processor restore

These commands are the operational entry point for the full application stack.

2. Package Installation

The CLI installs packages from:

  • local directories
  • local archives
  • direct web URLs
  • the dcm-processor registry

It understands package manifests through dcm-processor.json and installs:

  • service code
  • worker definitions
  • dependent services and workers when required

3. Configuration Management

The CLI exposes management commands for:

  • DICOM nodes
  • DICOM peers
  • services
  • workers
  • application settings

This makes it the operational shell around the stored application model.

4. Registry Access

The CLI is also the registry client.

It supports:

  • login
  • logout
  • publish
  • package install from registry queries like name, name==1.2.0, name>=1.2.0

Key Internal Areas

  • dcm_processor/manager.py
    • main CLI parser and command dispatch
  • dcm_processor/app_manager.py
    • application lifecycle and backup/restore workflows
  • dcm_processor/registry_manager.py
    • registry login, logout, and publish
  • dcm_processor/install_manager.py
    • install and uninstall command entry points
  • dcm_processor/libs/component_lib.py
    • service and worker install orchestration
  • dcm_processor/libs/app_runner.py
    • runtime assembly for app start/stop

Typical Flow

  1. A user creates or initializes an application.
  2. The CLI stores and reads app configuration through dcm-processor-db-provider.
  3. The CLI installs services and workers from package artifacts.
  4. The CLI starts the runtime stack.
  5. The runtime stack then runs through the scheduler, worker, and DICOM server modules.

What This Module Is Not

This package is not:

  • the database abstraction layer
  • the DICOM listener
  • the scheduler itself
  • the worker execution engine
  • the service SDK used inside processing code

It coordinates those pieces, but it is not their implementation.

Summary

Use this module when you need to interact with the dcm-processor platform as a system:

  • install things
  • configure things
  • run things
  • publish things

It is the main operational interface for the rest of the modules.

Release files for dcm-processor 2.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 2.0.1
File Size Uploaded
dcm_processor-2.0.1.tar.gz 27.8 kB Details

Built distribution (wheel)

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

Total release size: 60.9 kB

Release files / dcm_processor-2.0.1.tar.gz

Download URL dcm_processor-2.0.1.tar.gz
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f74e267fee68afa9edbf8a8f31012e369528a58030d1ab4ed41c7bb3e55438d5
BLAKE2b-256 checksum
How to use checksums
e012e3c2059b4e3b8f11788aa83bb1d8596b4a23b28b1e0c596b2214eac0e7fb
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-2.0.1-py3-none-any.whl

Download URL dcm_processor-2.0.1-py3-none-any.whl
Size 33.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0475e3025a4ae5500393bd4dcda7b2864891fda7f77c0db580b4b6b2e2cc7590
BLAKE2b-256 checksum
How to use checksums
8571756520294e2b4216b3498397b9722d93c2786bd27981949a7544223a4820
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

2.0.1 This release

2 release files

2.0.0

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.9.9

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

3 release files

0.8.9

2 release files

0.8.8

2 release files

0.8.7

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

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