ADIT Client library to connect to an ADIT server.
Project description
ADIT Client
About
ADIT Client is the official Python client of ADIT (Automated DICOM Transfer).
Usage
Prerequisites
- Generate an API token in your ADIT profile.
- Make sure you have the permissions to access the ADIT API.
- Also make sure you have access to the DICOM nodes you want query.
Code
server_url = "https://adit" # The host URL of the ADIT server
auth_token = "my_token" # The authentication token generated in your profile
client = AditClient(server_url=server_url, auth_token=auth_token)
# Search for studies. The first parameter is the AE title of the DICOM server
# you want to query.
studies = client.search_for_studies("ORTHANC1", {"PatientName": "Doe, John"})
# The client returns pydicom datasets.
study_descriptions = [study.StudyDescription for study in studies]
License
- AGPL 3.0 or later
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
adit_client-0.40.2.tar.gz
(16.1 kB
view details)
Built Distribution
File details
Details for the file adit_client-0.40.2.tar.gz
.
File metadata
- Download URL: adit_client-0.40.2.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a49ec37d27925667720cbf3f11289f116e38e1e64c50ed656161f451125c1e6f |
|
MD5 | e62dc4488bb914bd2b53f698e337d21a |
|
BLAKE2b-256 | dc084c711f7d4eeb3055c43fd920634ff6cb1e931ee76657ab2785043a7f21a9 |
Provenance
The following attestation bundles were made for adit_client-0.40.2.tar.gz
:
Publisher:
publish-client.yml
on openradx/adit
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
adit_client-0.40.2.tar.gz
- Subject digest:
a49ec37d27925667720cbf3f11289f116e38e1e64c50ed656161f451125c1e6f
- Sigstore transparency entry: 173810818
- Sigstore integration time:
- Permalink:
openradx/adit@473340f2f05b9d431c8c6f7054096ad8831e766d
- Branch / Tag:
refs/tags/0.40.2
- Owner: https://github.com/openradx
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
publish-client.yml@473340f2f05b9d431c8c6f7054096ad8831e766d
- Trigger Event:
release
- Statement type:
File details
Details for the file adit_client-0.40.2-py3-none-any.whl
.
File metadata
- Download URL: adit_client-0.40.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fad705256dce943826a8a3fbe9da391ac001ad6cd2f4cc2f87a90a5a2ed46d5 |
|
MD5 | 8b6f0f1107deb17d3c055094f791579d |
|
BLAKE2b-256 | 2cd6da36ecbe8fd98f57000c2ebbc7e7dee0d3e87c534972cfeef0a75e10f1d7 |
Provenance
The following attestation bundles were made for adit_client-0.40.2-py3-none-any.whl
:
Publisher:
publish-client.yml
on openradx/adit
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
adit_client-0.40.2-py3-none-any.whl
- Subject digest:
9fad705256dce943826a8a3fbe9da391ac001ad6cd2f4cc2f87a90a5a2ed46d5
- Sigstore transparency entry: 173810821
- Sigstore integration time:
- Permalink:
openradx/adit@473340f2f05b9d431c8c6f7054096ad8831e766d
- Branch / Tag:
refs/tags/0.40.2
- Owner: https://github.com/openradx
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
publish-client.yml@473340f2f05b9d431c8c6f7054096ad8831e766d
- Trigger Event:
release
- Statement type: