semvec/pypi-packages huggingface dataset:
dicom-qr 0.2.2
Tool for retrieving data from a PACS
License: MIT
Requires Python: >=3.11
Keywords: DICOM, PACS

# 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:
```json
{
  // 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:
1. 'DICOM_QR_SETTINGS' environment value
2. 'settings.json' in current directory
3. ~/.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
file-compare-diff 0.0.2
File comparison diff
License: MIT
Requires Python: <4.0,>=3.8
Keywords: file, comparison, diff, excel, pdf, docx

# FileCompare Library

A Python library for comparing files of various formats including XLSX, XLS, CSV, TXT, PDF, DOCX, and DOC.

## Features

- Compare Excel files (XLSX, XLS) with support for multiple sheets
- Compare CSV files
- Compare text-based documents (TXT, PDF, DOCX, DOC)
- Detailed difference reporting with word-level changes
- Support for key-based row matching
- Cross-platform support (Windows and Linux)

## Installation

```bash
pip install file-compare-diff