[![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)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/lassoan/pyigtl",
"name": "pyigtl",
"maintainer": "Andras Lasso",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "lasso@queensu.ca",
"keywords": "openigtlink igt medical imaging",
"author": "Andras Lasso, Daniel Hoyer Iversen, Kyle Sunderland",
"author_email": "lasso@queensu.ca",
"download_url": "https://files.pythonhosted.org/packages/41/65/ebc930dc098e9e36ba080cce1eb6cdfe9612f6ef33e6ce62bb5fe83b46de/pyigtl-0.3.1.tar.gz",
"platform": null,
"description": "[![Python package](https://github.com/lassoan/pyigtl/workflows/Python%20package/badge.svg)](https://github.com/lassoan/pyigtl/actions?query=workflow%3A%22Python+package%22)\n![Upload Python Package](https://github.com/lassoan/pyigtl/workflows/Upload%20Python%20Package/badge.svg)\n[![PyPI version](https://badge.fury.io/py/pyigtl.svg)](https://badge.fury.io/py/pyigtl)\n\n# *pyigtl*\n\nPython 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.).\n\nTested with [3D Slicer](https://www.slicer.org), [SlicerIGT](https://www.slicerigt.org) and [PLUS Toolkit](http://plustoolkit.org/).\n\nSupports latest OpenIGTLink protocol (version 3) and message types: IMAGE, TRANSFORM, STRING, POINT.\n\n## Installation\n\nUsing [pip](https://pip.pypa.io/en/stable/):\n\n```\npip install pyigtl\n```\n\n## Example\n\nWait until a message is received from a device named `ToolToReference` and print the message content:\n\n```\nimport pyigtl\nclient = pyigtl.OpenIGTLinkClient(\"127.0.0.1\", 18944)\nmessage = client.wait_for_message(\"ToolToReference\", timeout=5)\nprint(message)\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Python interface for OpenIGTLink",
"version": "0.3.1",
"split_keywords": [
"openigtlink",
"igt",
"medical",
"imaging"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "e28eeb3be947036f92158fdb38d7f0bd",
"sha256": "0d7384c610d2d919859ab82098cfb80712a687940b6e978899b67d99c5c26586"
},
"downloads": -1,
"filename": "pyigtl-0.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e28eeb3be947036f92158fdb38d7f0bd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 16648,
"upload_time": "2022-12-01T18:34:15",
"upload_time_iso_8601": "2022-12-01T18:34:15.051885Z",
"url": "https://files.pythonhosted.org/packages/5c/3d/2cf8ef6b9b91fd6653044c01901bd662e732d495febe5d12a471f356b435/pyigtl-0.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "a21980138f9380d0c0735b48a713385f",
"sha256": "ab39f933940a7e640d73df04e1d7a8af6f4152fec8355552779e7806412b1c65"
},
"downloads": -1,
"filename": "pyigtl-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "a21980138f9380d0c0735b48a713385f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 16497,
"upload_time": "2022-12-01T18:34:16",
"upload_time_iso_8601": "2022-12-01T18:34:16.828580Z",
"url": "https://files.pythonhosted.org/packages/41/65/ebc930dc098e9e36ba080cce1eb6cdfe9612f6ef33e6ce62bb5fe83b46de/pyigtl-0.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-01 18:34:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "lassoan",
"github_project": "pyigtl",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "crcmod",
"specs": []
},
{
"name": "numpy",
"specs": []
}
],
"lcname": "pyigtl"
}