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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for adit_client-0.46.0.tar.gz
Algorithm Hash digest
SHA256 ff86a03c2203ec7210e0dfc326c12641991c05de5f889f4af552d974d8a70fca
MD5 5630b2f5fba099a4b546b6ca106b9886
BLAKE2b-256 f88d0ae36c289b0d21b266bfa0808e9a68a8338a6e97e3f72b53d2100af755b8

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: adit_client-0.46.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.7

File hashes

Hashes for adit_client-0.46.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6359880088e1f61c29194e2ae1d30f8a685134022299e61238472591d4a79437
MD5 e426972dea466e949adedd85426943fb
BLAKE2b-256 28d3a12c0c05c893c69458fea3ce626a9baa1085d78f68c60aa9b4c0660b5ec4

See more details on using hashes here.

Provenance

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