Skip to main content

Retrieve medical images via WADO-URI, WADO-RS, QIDO-RS, MINT, RAD69 and DICOM-QR

Project description

dicomtrolley

CI PyPI PyPI - Python Version Code Climate Code style: black Checked with mypy

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

A trolley

dicomtrolley docs on readthedocs.io

Installation

pip install dicomtrolley

Basic usage

# 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dicomtrolley-3.1.0.tar.gz (44.2 kB view hashes)

Uploaded Source

Built Distribution

dicomtrolley-3.1.0-py3-none-any.whl (54.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page