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]

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

Uploaded Source

Built Distribution

adit_client-0.5.2-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: adit_client-0.5.2.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for adit_client-0.5.2.tar.gz
Algorithm Hash digest
SHA256 4f93da5c40b2c673a89fa07aefef23a53d84f02a6aa1a04dd377d45eb0017141
MD5 164e5f23057a6de853d4e3b95d6832ad
BLAKE2b-256 caf26d979e2e76b8859e334917ce1236e09118d1372a179c416a7fa5e9170f73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: adit_client-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for adit_client-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 095e69324c42d6dccff0a6728f0832adf51cf642f2927bdc8106ba739362d35b
MD5 8db8831a8d0fe5aced9eb28f5319ebc0
BLAKE2b-256 3ebe3633469c5626e60f0e7eb5486f87a378fdc52586487c0667417f83a27e93

See more details on using hashes here.

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