Skip to main content

Wrapper around DCMTK for PACS related actions (echo, find, move and listen)

Project description

https://badge.fury.io/py/pypx.svg https://travis-ci.org/FNNDSC/pypx.svg?branch=master https://img.shields.io/badge/python-3.5%2B-blue.svg

1. Overview

Pypx is a simple Python wrapper around DCMTK and PyDicom. It provides 4 simple way to interact with the PACS:

  1. px-echo: Ping the PACS to make sure it is online (echoscu).

  2. px-find: Find data on the PACS (findscu).

  3. px-move: Move data on the PACS (movescu).

  4. px-listen: Listen for incoming data from the PACS (storescp).

2. Installation

pip install pypx

3. Usage

Scripts

px-echo --help

Modules

# in yourscript.py
import pypx

options = {
  'executable': '/bin/echoscu',
  'aec': 'MY-AEC',
  'aet': 'MY-AET',
  'server_ip': '192.168.1.110',
  'server_port': '4242'
}

output = pypx.echo(options)
print(output)

# output:
# {
#   'command': '/bin/echoscu --timeout 5  -aec MY-AEC -aet MY-AET 192.168.1.110 4242',
#   'data': '',
#   'status': 'success'
# }

4. Credits

PyDicom

DCMTK

  • Author(s): Dicom @ OFFIS Team

Project details


Release history Release notifications | RSS feed

This version

0.7

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypx-0.7.tar.gz (8.3 kB view details)

Uploaded Source

File details

Details for the file pypx-0.7.tar.gz.

File metadata

  • Download URL: pypx-0.7.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pypx-0.7.tar.gz
Algorithm Hash digest
SHA256 45bdf0b18ffa31be90120a7882d7fb10ac9a2dcf7175528aa7c9d8e75b7ab166
MD5 f481c683d47b715eb9bfdbecbde48ea3
BLAKE2b-256 82bb32cd97ca01349fcea69f47930781d3f37010e8c23d621776be111f601b27

See more details on using hashes here.

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