DICOM-QR
This program allows you to query and retrieve images from a DICOM node.
This needs a settings.json file with the following data:
{
// Specify either 'dimse' or 'dicom_web' but not both.
"dimse": {
"server_ae_title": "SOMETHING",
"server_ae_ip": "SOMETHING",
"server_ae_port": SOMETHING,
"client_ae_title": "SOMETHING",
"client_ae_port": SOMETHING,
"transfer_method": "move" // or "get", depending on the capabilities of the server.
},
"dicom_web": {
"url": "http://localhost:8042/dicom-web",
"username": "SOME USER", // or environment variable, see below.
"password": "SOME PWD"
},
"base_folder": "dumpdir",
"folder_template": "${PatientID}/${StudyDate}/${StudyDescription}/${Modality}/${FolderUID}_${SeriesDescription}",
"study_columns": [
{"name": "Index"},
{"name": "PatientID"},
{"name": "StudyDate"},
{"name": "StudyDescription", "justify": "left"}
],
"series_columns": [
{"name": "Index"},
{"name": "SeriesInstanceUID", "justify": "left", "no_wrap": true},
{"name": "Modality"},
{"name": "SeriesNumber"},
{"name": "SeriesDescription", "justify": "left"}
]
}
Search strategy for settings file:
- 'DICOM_QR_SETTINGS' environment value
- 'settings.json' in current directory
- ~/.config/dicom_qr/settings.json
If the username and/or password for a DICOM Web server starts and ends with a $, the value between that is interpreted as an environment variable and a lookup is performed.
i.e. $DICOM_WEB_USERNAME$ is replaced by the contents of environment variable DICOM_WEB_USERNAME
Template
Folder template can contain any of the following items:
- PatientName
- PatientID
- StudyDescription
- StudyDate
- StudyTime
- Modality
- SeriesDescription
- SeriesNumber
- SeriesInstanceUID
- FolderUID (Uses the uid_mapping provided to RetrievePacs class)
- StudyInstanceUID
- AccessionNumber
study columns:
names:
- StudyInstanceUID
- PatientID
- PatientName
- PatientSex
- PatientBirthDate
- StudyID
- StudyDate
- StudyDescription
- StudyTime
- AccessionNumber
justify
- default
- left
- center
- right
- full
no_wrap
- true
- false
Metadata
Release files for dicom_qr 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dicom_qr-0.2.6-py3-none-any.whl | Python 3 | none | any | Details for dicom_qr-0.2.6-py3-none-any.whl |
Release files / dicom_qr-0.2.6-py3-none-any.whl
| Download URL | dicom_qr-0.2.6-py3-none-any.whl |
|---|---|
| Size | 63.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97c93b886a80ac7a6e940ee477b3d6bed02b06c55122afc6d5e12ce75856d285
|
|
BLAKE2b-256 checksum How to use checksums |
194f60342bacf7d3b8cd237140c64b73f5233c9727e74b620488fa964912bb73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for dicom_qr 0.2.6
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.