Skip to main content

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

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

Uploaded Source

Built Distribution

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

adit_client-0.51.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file adit_client-0.51.0.tar.gz.

File metadata

  • Download URL: adit_client-0.51.0.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for adit_client-0.51.0.tar.gz
Algorithm Hash digest
SHA256 0ed1e58816ee9996261865b993ec41a539556d9b60d656eaea301ee42c274753
MD5 682c1c0e95dbe3f8a5b4127f7191fdba
BLAKE2b-256 25a2327a26271c7b77c9cc55a4c00cf6cca4490e8bfc6a3570e52055dc04d4dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for adit_client-0.51.0.tar.gz:

Publisher: publish-client.yml on openradx/adit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file adit_client-0.51.0-py3-none-any.whl.

File metadata

  • Download URL: adit_client-0.51.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for adit_client-0.51.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ddaf10005d714cbbd2660f8bbec996e915bfdfa5acc27097518edac31932542
MD5 5dc1c2198879c64def85474936d07586
BLAKE2b-256 7597a09c517560dd04dd8113b6f991890b01f68cb54541d69399bfbe34335a55

See more details on using hashes here.

Provenance

The following attestation bundles were made for adit_client-0.51.0-py3-none-any.whl:

Publisher: publish-client.yml on openradx/adit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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