semvec/pypi-packages huggingface dataset:
shplotmissing 0.3
SHAWPACK NLP processing package
Keywords: Stucterd Data,AI,DS,Shahrour,Pandas,Missing Value

contourpy==1.0.6
cycler==0.11.0
fonttools==4.38.0
kiwisolver==1.4.4
matplotlib==3.6.2
missingno==0.5.1
numpy==1.23.5
packaging==21.3
pandas==1.5.2
Pillow==9.3.0
pyparsing==3.0.9
python-dateutil==2.8.2
pytz==2022.6
scipy==1.9.3
seaborn==0.12.1
six==1.16.0
pyigtl 0.3.1
Python interface for OpenIGTLink
Requires Python: >=3.6
Keywords: openigtlink igt medical imaging

[![Python package](https://github.com/lassoan/pyigtl/workflows/Python%20package/badge.svg)](https://github.com/lassoan/pyigtl/actions?query=workflow%3A%22Python+package%22)
![Upload Python Package](https://github.com/lassoan/pyigtl/workflows/Upload%20Python%20Package/badge.svg)
[![PyPI version](https://badge.fury.io/py/pyigtl.svg)](https://badge.fury.io/py/pyigtl)

# *pyigtl*

Python implementation of [OpenIGTLink](http://openigtlink.org/), a lightweight real-time data transfer protocol developed for image-guided therapy applications (surgical navigation, image-guided surgery, ultrasound-guided interventions, etc.).

Tested with [3D Slicer](https://www.slicer.org), [SlicerIGT](https://www.slicerigt.org) and [PLUS Toolkit](http://plustoolkit.org/).

Supports latest OpenIGTLink protocol (version 3) and message types: IMAGE, TRANSFORM, STRING, POINT.

## Installation

Using [pip](https://pip.pypa.io/en/stable/):

```
pip install pyigtl
```

## Example

Wait until a message is received from a device named `ToolToReference` and print the message content:

```
import pyigtl
client = pyigtl.OpenIGTLinkClient("127.0.0.1", 18944)
message = client.wait_for_message("ToolToReference", timeout=5)
print(message)
```