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)
Metadata
Release files for adit-dicomweb-client 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| adit_dicomweb_client-0.1.1.tar.gz | 2.3 kB | Without provenance | Details for adit_dicomweb_client-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| adit_dicomweb_client-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for adit_dicomweb_client-0.1.1-py3-none-any.whl |
Total release size: 5.4 kB
Release files / adit_dicomweb_client-0.1.1.tar.gz
| Download URL | adit_dicomweb_client-0.1.1.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ceb0d1d26ca03acc4354f9051f0b950454073e63f60e778e87849099e52776bf
|
|
BLAKE2b-256 checksum How to use checksums |
1222bd00009a8b00a54c4434b010b88d130290d5b238289a2cab0169d2ac4573
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.3 Linux/5.19.0-46-generic
|
Release files / adit_dicomweb_client-0.1.1-py3-none-any.whl
| Download URL | adit_dicomweb_client-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e76a6f7e455499a56efa9494a230fff9d6419a4d95c00b2221a040b14b4b1596
|
|
BLAKE2b-256 checksum How to use checksums |
cc2466a4b266569691f8f2e817d5e02cf38835c106c71f622db4b5974c21a076
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.3 Linux/5.19.0-46-generic
|
Security for adit-dicomweb-client 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.