Skip to main content

No project description provided

Project description

Adit DICOM Web Client

This is a simple Wrapper of the DICOM Web Client provided by the dicomweb-client library. It is slighly adjusted and restricted to provide a simple python API to the DICOM Web API of Adit.

Installation

pip install adit-dicomweb-client

Usage

from adit_dicomweb_client import AditDicomWebClient

# Create a new client
client = AditDicomWebClient(
    adit_base_url,  # URL to the ADIT server
    dicom_server,  # AE title of the associated DICOM server
    auth_token,  # Authentication token for the ADIT server
)

# Find all studies
studies = client.find_studies()

# Find all series of a study
series = client.find_series(study_instance_uid)

# Find all series
series = client.find_series()

# Include additional query parameters
studies = client.find_studies({"PatientID": "1001"})

# Get a study
study = client.get_study(study_instance_uid)

# Get a series
series = client.get_series(study_instance_uid, series_instance_uid)

# Get study metadata
study_metadata = client.get_study_metadata(study_instance_uid)

# Get series metadata
series_metadata = client.get_series_metadata(study_instance_uid, series_instance_uid)

# Upload pydicom.Dataset instances
client.upload_instances(instance_list)

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

adit_dicomweb_client-0.1.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

adit_dicomweb_client-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file adit_dicomweb_client-0.1.1.tar.gz.

File metadata

  • Download URL: adit_dicomweb_client-0.1.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/5.19.0-46-generic

File hashes

Hashes for adit_dicomweb_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ceb0d1d26ca03acc4354f9051f0b950454073e63f60e778e87849099e52776bf
MD5 c91d888dcc0178be65d9c56a782e427b
BLAKE2b-256 1222bd00009a8b00a54c4434b010b88d130290d5b238289a2cab0169d2ac4573

See more details on using hashes here.

File details

Details for the file adit_dicomweb_client-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for adit_dicomweb_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e76a6f7e455499a56efa9494a230fff9d6419a4d95c00b2221a040b14b4b1596
MD5 eb7430981293f68ae856c05e40e92feb
BLAKE2b-256 cc2466a4b266569691f8f2e817d5e02cf38835c106c71f622db4b5974c21a076

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