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 to have the permissions to access the ADIT API.
  • Also make sure you have access to the DICOM nodes you want query.

Code

adit_url = "https://adit" # The host URL of adit
adit_token = "my_token" # The generated auth token
client = AditClient(server_url=adit_url, auth_token=adit_token)

# Search for studies
studies = client.search_for_studies("ORTHANC1", {"PatientName": "Doe, John"})

# The client returns pydicom datasets
study_descriptions = [study.StudyDescription for study in studies]

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.2.2.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

adit_client-0.2.2-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page