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-providerfor persistence and configuration storagedcm-processor-workerfor worker installation and executiondcm-processor-dicom-serverfor DICOM ingestiondcm-processor-job-schedulerfor job orchestrationdcm-processor-utilsfor 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 createdcm-processor initdcm-processor startdcm-processor stopdcm-processor restartdcm-processor statusdcm-processor logsdcm-processor backupdcm-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
- A user creates or initializes an application.
- The CLI stores and reads app configuration through
dcm-processor-db-provider. - The CLI installs services and workers from package artifacts.
- The CLI starts the runtime stack.
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| dcm_processor-2.0.1.tar.gz | 27.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|