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.0.4.tar.gz (39.1 kB view details)

Uploaded Source

Built Distribution

dicomtrolley-3.0.4-py3-none-any.whl (48.0 kB view details)

Uploaded Python 3

File details

Details for the file dicomtrolley-3.0.4.tar.gz.

File metadata

  • Download URL: dicomtrolley-3.0.4.tar.gz
  • Upload date:
  • Size: 39.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.18 Linux/6.2.0-1011-azure

File hashes

Hashes for dicomtrolley-3.0.4.tar.gz
Algorithm Hash digest
SHA256 b74b2ecb5021cfd00617851a21c74cf240cb482a388a8ba1935ebc04a36c8dd4
MD5 c375327adc2742aade820fea46fe7727
BLAKE2b-256 90859623a5ea9c244dbcc0ceb5f489973d836e79e6e15bddae871dce5d1aec74

See more details on using hashes here.

File details

Details for the file dicomtrolley-3.0.4-py3-none-any.whl.

File metadata

  • Download URL: dicomtrolley-3.0.4-py3-none-any.whl
  • Upload date:
  • Size: 48.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.18 Linux/6.2.0-1011-azure

File hashes

Hashes for dicomtrolley-3.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 085d16127067f5a6c42b31a851262d5fee013f8a4fa0535c4f3cf39e224ab94f
MD5 c3dd7a9cc715cb5b5246f6eaac5af9ba
BLAKE2b-256 8ae5f7ce3b623caada1d04459a6830a892d5746f8f8efdc4882a0c7aaca6a442

See more details on using hashes here.

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