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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceb0d1d26ca03acc4354f9051f0b950454073e63f60e778e87849099e52776bf |
|
MD5 | c91d888dcc0178be65d9c56a782e427b |
|
BLAKE2b-256 | 1222bd00009a8b00a54c4434b010b88d130290d5b238289a2cab0169d2ac4573 |
File details
Details for the file adit_dicomweb_client-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: adit_dicomweb_client-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/5.19.0-46-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e76a6f7e455499a56efa9494a230fff9d6419a4d95c00b2221a040b14b4b1596 |
|
MD5 | eb7430981293f68ae856c05e40e92feb |
|
BLAKE2b-256 | cc2466a4b266569691f8f2e817d5e02cf38835c106c71f622db4b5974c21a076 |