Skip to main content

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


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)

Uploaded Source

Built Distribution

adit_client-0.40.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

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

Hashes for adit_client-0.40.2.tar.gz
Algorithm Hash digest
SHA256 a49ec37d27925667720cbf3f11289f116e38e1e64c50ed656161f451125c1e6f
MD5 e62dc4488bb914bd2b53f698e337d21a
BLAKE2b-256 dc084c711f7d4eeb3055c43fd920634ff6cb1e931ee76657ab2785043a7f21a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for adit_client-0.40.2.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.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

Hashes for adit_client-0.40.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9fad705256dce943826a8a3fbe9da391ac001ad6cd2f4cc2f87a90a5a2ed46d5
MD5 8b6f0f1107deb17d3c055094f791579d
BLAKE2b-256 2cd6da36ecbe8fd98f57000c2ebbc7e7dee0d3e87c534972cfeef0a75e10f1d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for adit_client-0.40.2-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 AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page