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.47.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.47.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for adit_client-0.47.0.tar.gz
Algorithm Hash digest
SHA256 bfe695f14d02b4cbfec0e636ebecc9d0244ef739d17ef82cb7a76775e1253a1a
MD5 035825734e89010da89d5e9e84323fb9
BLAKE2b-256 bbe0799eb9b4adbaf0938584bd62cb5a791ff19ec73a8aac40b6d76261b12bf1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: adit_client-0.47.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.47.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69744fa3934d2daec313d005216d10960a4a40d58b8fde3417581f13efbe511f
MD5 17fec6c3c6422f389711d22ac923a36f
BLAKE2b-256 ae7b501d4dcc470c86067ad909e1882544796e9dc66d55f4aad867febf2e8a1a

See more details on using hashes here.

Provenance

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