https://github.com/sjoerdk/dicomtrolley
Retrieve medical images via WADO, MINT, RAD69 and DICOM-QR
https://github.com/sjoerdk/dicomtrolley
dicom-images dicomweb mint python wado
Last synced: 5 months ago
JSON representation
Retrieve medical images via WADO, MINT, RAD69 and DICOM-QR
- Host: GitHub
- URL: https://github.com/sjoerdk/dicomtrolley
- Owner: sjoerdk
- License: apache-2.0
- Created: 2021-03-12T16:21:43.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2026-01-16T18:36:33.000Z (5 months ago)
- Last Synced: 2026-01-17T06:33:38.151Z (5 months ago)
- Topics: dicom-images, dicomweb, mint, python, wado
- Language: Python
- Homepage:
- Size: 475 KB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- Contributing: docs/contributing.md
- License: LICENSE
Awesome Lists containing this project
README
# dicomtrolley
[](https://github.com/sjoerdk/dicomtrolley/actions/workflows/build.yml?query=branch%3Amain)
[](https://pypi.org/project/dicomtrolley/)
[](https://pypi.org/project/dicomtrolley/)
[](https://github.com/psf/black)
[](http://mypy-lang.org/)
Retrieve medical images via WADO-URI, WADO-RS, QIDO-RS, MINT, RAD69 and DICOM-QR
* Uses `pydicom` and `pynetdicom`. Images and query results are `pydicom.Dataset` instances
* Query and download DICOM Studies, Series and Instances
* Integrated search and download - automatic queries for missing series and instance info

[dicomtrolley docs on readthedocs.io](https://dicomtrolley.readthedocs.io)
## Installation
```
pip install dicomtrolley
```
## Basic usage
```python
# Create a http session
session = requests.Session()
# Use this session to create a trolley using MINT and WADO
trolley = Trolley(searcher=Mint(session, "https://server/mint"),
downloader=WadoURI(session, "https://server/wado_uri"))
# find some studies (using MINT)
studies = trolley.find_studies(Query(PatientName='B*'))
# download the fist one (using WADO)
trolley.download(studies[0], output_dir='/tmp/trolley')
```
## Documentation
See [dicomtrolley docs on readthedocs.io](https://dicomtrolley.readthedocs.io)