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

Uploaded Source

Built Distribution

dicomtrolley-3.0.5-py3-none-any.whl (48.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dicomtrolley-3.0.5.tar.gz
  • Upload date:
  • Size: 39.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.8.18 Linux/6.2.0-1015-azure

File hashes

Hashes for dicomtrolley-3.0.5.tar.gz
Algorithm Hash digest
SHA256 b2205ceb86f8b9a17b77d357912c1c6ccc75fe798477991635f7037a6deaa216
MD5 56dce832dd52af9d7b604be30c71cdbc
BLAKE2b-256 43a7d3e079c846f4e5cc5b7fb54a002513933ca9c99f166d4ba35cc2abe2f2a6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dicomtrolley-3.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e66353a19d970605b7e49a9f85d0fe0292e6b3ac5459797f1fbdb857e2c57138
MD5 b59750cb925e61e5d77acfcc2457b555
BLAKE2b-256 7fcb1978ad69cdbe103f1a0c177600860f1b3a94f6115402aa954fb5eff8ed12

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