Skip to main content

REST client for Orthanc DICOM servers

Project description

Provides a REST client, based on apiron, targeted at Orthanc REST endpoints.

How to use

Import the pre-defined client and pass the server details

from orthanc_rest_client import Orthanc
orthanc = Orthanc(scheme='http', domain='localhost', port=8042, path='')

# Get patient(s)
orthanc.patients(<id or not>)

# Get studies/study
orthanc.studies(<id or not>)

# Get series/part
orthanc.series(<id or not>)

# Get instances/instance
orthanc.instances(<id or not>)

# Get tags
orthanc.instance_tag(id)

# Get changes
orthanc.changes()

# Find objects by query
orthanc.find(query)

# Get previous queries
orthanc.queries()

There are other preconfigured endpoints.

For further help: - apiron - Orthanc documentation

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

orthanc_rest_client-0.2.0.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

orthanc_rest_client-0.2.0-py2.py3-none-any.whl (15.9 kB view hashes)

Uploaded Python 2 Python 3

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