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

Uploaded Source

Built Distribution

dicomtrolley-3.0.1-py3-none-any.whl (47.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dicomtrolley-3.0.1.tar.gz
  • Upload date:
  • Size: 38.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.18 Linux/5.15.0-1041-azure

File hashes

Hashes for dicomtrolley-3.0.1.tar.gz
Algorithm Hash digest
SHA256 9bad3e0718ea4d94712bc560bd65cf640094a46ddae945d6ad676e463eeb8e3f
MD5 0e7501933f462211c5d07cd8d2f3e37b
BLAKE2b-256 aa1975997c2809c4c60492cbb245549c38bcae2be6d42ad5833e3118010c56f1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dicomtrolley-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 19931035cec5a78399a44c65f623e15458edec092a7d833feeb767d3c41c3b74
MD5 8ffc51946c41cdaa6003366313742ec7
BLAKE2b-256 a39aef96f2990ab17943a7b9c593049c8dd1cf7b6b9946d66249752feec110cb

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