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.49.0.tar.gz (25.6 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.49.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: adit_client-0.49.0.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for adit_client-0.49.0.tar.gz
Algorithm Hash digest
SHA256 5b009832d767b389a2fa6b6958f2cd3d0977ca84788637677c741f2d2a3f799d
MD5 a30568a36975d669728ba2de7c0df915
BLAKE2b-256 fefd9032aa5bc2e50db95802e98e6da96e14b26f2c86871f6622935c8b701726

See more details on using hashes here.

Provenance

The following attestation bundles were made for adit_client-0.49.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.49.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for adit_client-0.49.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89a4c59ea63ecaf6c5f09fd1bea9512ba7e28eed248f857afd895637af543a65
MD5 7687d110df1eb01f8f8f9f88d2b61391
BLAKE2b-256 9c0a13eb6c1bfd74c9cd5109200033cdde4239fd9d00466aa1ce6c1226869207

See more details on using hashes here.

Provenance

The following attestation bundles were made for adit_client-0.49.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 Pingdom Monitoring Sentry Error logging StatusPage Status page