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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dicomtrolley-4.1.0-py3-none-any.whl (55.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dicomtrolley-4.1.0.tar.gz
  • Upload date:
  • Size: 66.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dicomtrolley-4.1.0.tar.gz
Algorithm Hash digest
SHA256 2c2f6f370c2d70b9c6130c99c27a71bc13b9f25d0482c8284246fb46d4a02ef7
MD5 9cfb5c99039452371eabd0864216bffd
BLAKE2b-256 eabb7a5c9c85fa42bbf75bf1bfc876c74f1e89aec886b3f8d98217b62f340e38

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dicomtrolley-4.1.0-py3-none-any.whl
  • Upload date:
  • Size: 55.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dicomtrolley-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c4593df0751fd1ed3380469a039bd4bfb5c323f2e36bd5b90d4b863a274127d
MD5 686064df1f459996b21eed8a459ad149
BLAKE2b-256 f6df568e2c92af9e0f7331432f7251f4fde7b41c1a8ced3dfe29e24f220e6724

See more details on using hashes here.

Supported by

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