Skip to main content

A Command line tool for the dicom processor library

Reason this release was yanked:

Error in dependencies

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dcm_processor-2.0.0.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

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

dcm_processor-2.0.0-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file dcm_processor-2.0.0.tar.gz.

File metadata

  • Download URL: dcm_processor-2.0.0.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for dcm_processor-2.0.0.tar.gz
Algorithm Hash digest
SHA256 b376aa0ccd9b6dcdb9390ef50c8af6ff399364a9c7db9f7e01589ab1ea48250c
MD5 cee7104d923c415514c2d2386ddcd958
BLAKE2b-256 9422af19454fc58153e7aa60413a9689ff340469ddced1cd5ea8eb09b16060f5

See more details on using hashes here.

File details

Details for the file dcm_processor-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: dcm_processor-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for dcm_processor-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 559acd3ea8136c46232ef1c00d1d516562be8c541ec9f4ea747aaaff336576df
MD5 b1018ffb588757e198e5fbcd6431f99d
BLAKE2b-256 e0a6cb7bc6fd73d1ffa98f8e77d2c2074aeab92fb8667566fff5af79e3d0e608

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page