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.48.0.tar.gz (23.7 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.48.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: adit_client-0.48.0.tar.gz
  • Upload date:
  • Size: 23.7 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.48.0.tar.gz
Algorithm Hash digest
SHA256 5a8d0f88153973eb6b8f90e73ef4526da876346f053d900bc6269559ef56bd6e
MD5 548d9d9aa4bb86b94f1ef49fd6555679
BLAKE2b-256 78082b2c136bb7e2810034a22a41f40b7956bbcc7c76bae0599d21213e1ec49f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: adit_client-0.48.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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.48.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6876ca5f0566c55370c76def19d4552db2142b1f4548f7bbd29ddf624226144
MD5 d58f3d3e311b215947886a3002b6c1a7
BLAKE2b-256 b8032a2d79f3c1ba6281abe6dae8eec27e69041b6a2ada34ff1c8d9a17ace478

See more details on using hashes here.

Provenance

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