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('http://localhost:8042')

# 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.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

orthanc_rest_client-0.2.1-py2.py3-none-any.whl (15.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file orthanc_rest_client-0.2.1.tar.gz.

File metadata

  • Download URL: orthanc_rest_client-0.2.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1

File hashes

Hashes for orthanc_rest_client-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c6896ab078e1fd4eceb1b3f6d2a8b6da4e40fb0dc0c8d99b0cc41895f7c55604
MD5 ab70ae4967301e94aa91315791c8d42b
BLAKE2b-256 3b7f8c5f7c7f852ac9352c4658d08df0656006c3d665c5870b9a23d82ef96067

See more details on using hashes here.

File details

Details for the file orthanc_rest_client-0.2.1-py2.py3-none-any.whl.

File metadata

  • Download URL: orthanc_rest_client-0.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1

File hashes

Hashes for orthanc_rest_client-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ca15bc11b384710707e55f034dfbe029a8aeaf8836bf73efa743964dc8fbda49
MD5 4a03f1884de51c5754f2593dd248f9fe
BLAKE2b-256 0115b2770e74834affcd59cb825f7abea7964b76e9f0ce421a52d6a32e9b40ee

See more details on using hashes here.

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