Skip to content

jjjermiah/PyDicomSorter

Repository files navigation

pydicomsorter

codecov CI-CD CodeFactor

pixi-badge pre-commit Ruff Built with Material for MkDocs

PyPI - Python Version PyPI - Version PyPI - Format Downloads

PyDicomSorter is a python package that sorts dicom files into a structured directory based on the dicom tags.

It can be used as a command line tool or as a python package.

Installation

pip install 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:

Command output

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)

Loading