# GEISTT Lab RTI Client for Python
Please refer to the [GEISTT Lab RTI documentation](https://gitlab.com/geistt/lab/rti/-/wikis/home) for more information.
Example usage:
```python
from geistt_lab_rti_client import RTI, proto, constants
rti = RTI(application="python_test")
def on_connect():
print("Connected")
rti.on("connect", on_connect)
def on_error(channel, message, exception):
print(f"Error: {channel}: {message}", file=sys.stderr)
rti.on("error", on_error)
def on_message(content): print(f"received: {content}")
self.rti.subscribe_text("test", on_message)
self.rti.publish_text("test", "foo")
```
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/geistt/lab/rti",
"name": "geistt-lab-rti-client",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "RTI",
"author": "GEISTT AB",
"author_email": "packages@geistt.com",
"download_url": "https://files.pythonhosted.org/packages/39/3c/f0eafc21c5c4f92608e43f0df22b384544cd488ca3fa6405f9a93e0d9064/geistt-lab-rti-client-1.12.4.tar.gz",
"platform": null,
"description": "# GEISTT Lab RTI Client for Python\n\nPlease refer to the [GEISTT Lab RTI documentation](https://gitlab.com/geistt/lab/rti/-/wikis/home) for more information.\n\nExample usage:\n\n```python\nfrom geistt_lab_rti_client import RTI, proto, constants\n\nrti = RTI(application=\"python_test\")\n\ndef on_connect():\n print(\"Connected\")\nrti.on(\"connect\", on_connect)\n\ndef on_error(channel, message, exception):\n print(f\"Error: {channel}: {message}\", file=sys.stderr)\nrti.on(\"error\", on_error)\n\ndef on_message(content): print(f\"received: {content}\")\nself.rti.subscribe_text(\"test\", on_message)\nself.rti.publish_text(\"test\", \"foo\")\n```\n",
"bugtrack_url": null,
"license": "Apache license 2.0",
"summary": "GEISTT Lab RTI Client",
"version": "1.12.4",
"project_urls": {
"Homepage": "https://gitlab.com/geistt/lab/rti"
},
"split_keywords": [
"rti"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "eca9f486f6fd898677a1a59e8cd7bdf680ed5e72443866f7f449feee868a7ac6",
"md5": "723ae29aae4bc3dc0607bd1e6b2a3fe5",
"sha256": "0b912c0b4fddba9bf0605f775f7be6f962bde1f481c69b9d413b9dbc8b26ca78"
},
"downloads": -1,
"filename": "geistt_lab_rti_client-1.12.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "723ae29aae4bc3dc0607bd1e6b2a3fe5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 65628,
"upload_time": "2023-09-13T21:57:58",
"upload_time_iso_8601": "2023-09-13T21:57:58.742308Z",
"url": "https://files.pythonhosted.org/packages/ec/a9/f486f6fd898677a1a59e8cd7bdf680ed5e72443866f7f449feee868a7ac6/geistt_lab_rti_client-1.12.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "393cf0eafc21c5c4f92608e43f0df22b384544cd488ca3fa6405f9a93e0d9064",
"md5": "790f8364f376a7759f3324b180674836",
"sha256": "823ccb5bb76844d06dee29cc7106e9cbdfaefacd62a7c31c7efa20bf479480f2"
},
"downloads": -1,
"filename": "geistt-lab-rti-client-1.12.4.tar.gz",
"has_sig": false,
"md5_digest": "790f8364f376a7759f3324b180674836",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 43313,
"upload_time": "2023-09-13T21:58:00",
"upload_time_iso_8601": "2023-09-13T21:58:00.461518Z",
"url": "https://files.pythonhosted.org/packages/39/3c/f0eafc21c5c4f92608e43f0df22b384544cd488ca3fa6405f9a93e0d9064/geistt-lab-rti-client-1.12.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-13 21:58:00",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "geistt",
"gitlab_project": "lab",
"lcname": "geistt-lab-rti-client"
}