# pydicomsorter
[](https://codecov.io/gh/jjjermiah/PyDicomSorter)
[](https://github.com/jjjermiah/PyDicomSorter/actions/workflows/main.yaml)
[](https://www.codefactor.io/repository/github/jjjermiah/pydicomsorter)
[](https://github.com/prefix-dev/pixi)
[](https://github.com/pre-commit/pre-commit)
[](https://github.com/astral-sh/ruff)
[](https://github.com/squidfunk/mkdocs-material)
[](https://pypi.org/project/pydicomsorter/)
[](https://pypi.org/project/pydicomsorter/)
[](https://pypi.org/project/pydicomsorter/)
[](https://pepy.tech/project/pydicomsorter)
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
```bash
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:

# 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.
```mermaid
graph TD
A[Patient] --> B(Study)
B --> C(Series)
C --> D(Instance)
```
<!-- [](https://github.com/anuraghazra/github-readme-stats)
[](https://github.com/jjjermiah/github-readme-stats) -->
<!-- [](https://githubtrends.io) -->
Raw data
{
"_id": null,
"home_page": null,
"name": "pydicomsorter",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "Jermiah Joseph <jermiahjoseph98@gmail.com>",
"keywords": "package, pixi, pydicomsorter, python",
"author": null,
"author_email": "Jermiah Joseph <jermiahjoseph98@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/6d/8c/bee5ce078ad9f821426ded10b5b845f1c8ded73f45a1449bafe9217f3214/pydicomsorter-0.15.0.tar.gz",
"platform": null,
"description": "# pydicomsorter\n\n[](https://codecov.io/gh/jjjermiah/PyDicomSorter)\n[](https://github.com/jjjermiah/PyDicomSorter/actions/workflows/main.yaml)\n[](https://www.codefactor.io/repository/github/jjjermiah/pydicomsorter)\n\n[](https://github.com/prefix-dev/pixi)\n[](https://github.com/pre-commit/pre-commit)\n[](https://github.com/astral-sh/ruff)\n[](https://github.com/squidfunk/mkdocs-material)\n\n\n[](https://pypi.org/project/pydicomsorter/)\n[](https://pypi.org/project/pydicomsorter/)\n[](https://pypi.org/project/pydicomsorter/)\n[](https://pepy.tech/project/pydicomsorter)\n\n\nPyDicomSorter is a python package that sorts dicom files into a structured directory based on the dicom tags.\n\nIt can be used as a command line tool or as a python package.\n\n## Installation\n\n```bash\npip install PyDicomSorter\n```\n\n\nTesting the pydicom library to sort dicom files by patient name and study date.\n\n> [!NOTE] none of this works yet\n\nDesigning should look like:\n\n\n\n# DICOM data model\n\nA Patient has one or more Studies, a Study has one or more Series, and a Series has one or more Instances.\n\n```mermaid\ngraph TD\n A[Patient] --> B(Study)\n B --> C(Series)\n C --> D(Instance)\n\n```\n\n<!-- [](https://github.com/anuraghazra/github-readme-stats)\n\n[](https://github.com/jjjermiah/github-readme-stats) -->\n\n<!-- [](https://githubtrends.io) -->\n",
"bugtrack_url": null,
"license": null,
"summary": "A Quick Tool For Sorting Dicom Files",
"version": "0.15.0",
"project_urls": {
"changelog": "https://github.com/jjjermiah/pydicomsorter/blob/main/docs/CHANGELOG.md",
"documentation": "https://jjjermiah.github.io/pydicomsorter/",
"homepage": "https://github.com/jjjermiah/pydicomsorter",
"issues": "https://github.com/jjjermiah/pydicomsorter/issues",
"repository": "https://github.com/jjjermiah/pydicomsorter"
},
"split_keywords": [
"package",
" pixi",
" pydicomsorter",
" python"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "7ea8c96f339c2c22e0548fe4e8823fad8b0ca97e6dbd98f794ee2090d18d0858",
"md5": "738bed2d077bc76e744c1f8206058e25",
"sha256": "221a7dd598193894d2445afc3d8c8a328ec1a5cedae68f278c4d2fa76edf87b6"
},
"downloads": -1,
"filename": "pydicomsorter-0.15.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "738bed2d077bc76e744c1f8206058e25",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 14073,
"upload_time": "2024-05-24T18:01:06",
"upload_time_iso_8601": "2024-05-24T18:01:06.676567Z",
"url": "https://files.pythonhosted.org/packages/7e/a8/c96f339c2c22e0548fe4e8823fad8b0ca97e6dbd98f794ee2090d18d0858/pydicomsorter-0.15.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "6d8cbee5ce078ad9f821426ded10b5b845f1c8ded73f45a1449bafe9217f3214",
"md5": "1d5cebd3217f4d8dcd59793c8ce6fe5c",
"sha256": "12e8fa9c11a6f451806d5ead494cb5317e1c18eae7f75d0058d3bce941e188d1"
},
"downloads": -1,
"filename": "pydicomsorter-0.15.0.tar.gz",
"has_sig": false,
"md5_digest": "1d5cebd3217f4d8dcd59793c8ce6fe5c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 144365,
"upload_time": "2024-05-24T18:01:08",
"upload_time_iso_8601": "2024-05-24T18:01:08.415701Z",
"url": "https://files.pythonhosted.org/packages/6d/8c/bee5ce078ad9f821426ded10b5b845f1c8ded73f45a1449bafe9217f3214/pydicomsorter-0.15.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-24 18:01:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jjjermiah",
"github_project": "pydicomsorter",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pydicomsorter"
}