Wrapper around DCMTK for PACS related actions (echo, find, move and listen)
Project description
1. Overview
Pypx is a simple Python wrapper around DCMTK and PyDicom. It provides 4 simple way to interact with the PACS:
px-echo: Ping the PACS to make sure it is online (echoscu).
px-find: Find data on the PACS (findscu).
px-move: Move data on the PACS (movescu).
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
Author(s): darcymason
Author(s): Dicom @ OFFIS Team
Project details
Release history Release notifications | RSS feed
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.4.tar.gz
(7.5 kB
view hashes)