A Quick Tool For Sorting Dicom Files
Project description
pydicomsorter
Testing the pydicom library to sort dicom files by patient name and study date.
[!NOTE] none of this works yet
Designing should look like:
Usage: dicomsort [OPTIONS] SOURCEDIR DESTINATION_DIR
╭─ Advanced options ───────────────────────────────────────────────────────────────╮
│ --delete_source -d Delete the source files after sorting. │
│ --keep_going -k Keep going when an error occurs. │
│ --symlink -s Create symbolic links instead of moving files. │
│ --dry_run -n Do not move or copy files, just print what would be done. │
╰──────────────────────────────────────────────────────────────────────────────────╯
╭─ Basic options ──────────────────────────────────────────────────────────────────╮
│ --verbose Print verbose output. │
│ --debug Print debug output. │
│ --help -h Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────────╯
DICOM data model
A Patient has one or more Studies, a Study has one or more Series, and a Series has one or more Instances.
graph TD
A[Patient] --> B(Study)
B --> C(Series)
C --> D(Instance)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydicomsorter-0.10.0.tar.gz
(72.3 kB
view hashes)
Built Distribution
Close
Hashes for pydicomsorter-0.10.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b664e558c3133a9980af6424fa8f5ac5f538dcf99e971be99d0c04988c1ca13 |
|
MD5 | 63c80b9ec3d4fc1dc8de09f2c3f13b56 |
|
BLAKE2b-256 | 3f628052c320198b6c031f09065cf6f6889a1ee70debf84877eb378e287ae0fd |