Install the package:
pip install pygtlink
This package provides a python implementation of OpenIgtLink message types.
Currently the implemented message types are:
IMAGE
POSITION
STATUS
SENSOR
An example of a python openigtlink server and client is also provided.
Find the documentation for the package in https://pyopenigtlink.readthedocs.io/en/latest/pygtlink.html