# Inhumate RTI Client for Python
This is the Python client for the Inhumate RTI
(RunTime Infrastructure), part of the [Inhumate Suite](https://inhumatesystems.com/products/suite/).
See the Inhumate Suite [documentation](https://docs.inhumatesystems.com/) for more in-depth topics and an overview of the software suite.
## Installing
```sh
pip install inhumate-rti
```
## Quick Start
```python
import inhumate_rti as RTI
rti = RTI.Client(application="Python RTI App")
rti.wait_until_connected()
def on_connect():
print("Connected")
rti.on("connect", on_connect)
def on_hello(content):
print(f"Received: {content}")
rti.subscribe_text("hello", on_hello)
rti.publish_text("hello", "Hello World!")
```
For a more complete usage example, see
[usage_example.py](https://github.com/inhumatesystems/rti-client/blob/main/python/test/usage_example.py) and
[usage_example_main_loop.py](https://github.com/inhumatesystems/rti-client/blob/main/python/test/usage_example_main_loop.py).
## Running tests
Clone the project from [GitHub](https://github.com/inhumatesystems/rti-client), and in the `python` folder:
```sh
python -m virtualenv .venv
. .venv/bin/activate
pip install -r inhumate_rti/requirements.txt
pip install -r test/requirements.txt
pytest
```
## Feedback & Contributing
Feedback and contributions of any kind are welcome.
- Please file bug reports and/or feature requests as [GitHub issues](https://github.com/inhumatesystems/rti-client/issues)
- Suggest code changes by creating a [pull request](https://github.com/inhumatesystems/rti-client/pulls)
- For any other questions, comments or inquiries, [get in touch](https://inhumatesystems.com/#contact)
Raw data
{
"_id": null,
"home_page": "https://github.com/inhumatesystems/rti-client",
"name": "inhumate-rti",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "RTI",
"author": "Inhumate AB",
"author_email": "packages@inhumatesystems.com",
"download_url": "https://files.pythonhosted.org/packages/93/b1/4e19b2314977ba2cfb436426c06e0feacb8e05404e649a8e9f0d0d5d9e60/inhumate_rti-1.2.1.tar.gz",
"platform": null,
"description": "# Inhumate RTI Client for Python\n\nThis is the Python client for the Inhumate RTI\n(RunTime Infrastructure), part of the [Inhumate Suite](https://inhumatesystems.com/products/suite/).\n\nSee the Inhumate Suite [documentation](https://docs.inhumatesystems.com/) for more in-depth topics and an overview of the software suite.\n\n## Installing\n\n```sh\npip install inhumate-rti\n```\n\n## Quick Start\n\n```python\nimport inhumate_rti as RTI\n\nrti = RTI.Client(application=\"Python RTI App\")\nrti.wait_until_connected()\n\ndef on_connect():\n print(\"Connected\")\nrti.on(\"connect\", on_connect)\n\ndef on_hello(content): \n print(f\"Received: {content}\")\nrti.subscribe_text(\"hello\", on_hello)\n\nrti.publish_text(\"hello\", \"Hello World!\")\n```\n\nFor a more complete usage example, see \n[usage_example.py](https://github.com/inhumatesystems/rti-client/blob/main/python/test/usage_example.py) and \n[usage_example_main_loop.py](https://github.com/inhumatesystems/rti-client/blob/main/python/test/usage_example_main_loop.py).\n\n## Running tests\n\nClone the project from [GitHub](https://github.com/inhumatesystems/rti-client), and in the `python` folder:\n\n```sh\npython -m virtualenv .venv\n. .venv/bin/activate\npip install -r inhumate_rti/requirements.txt \npip install -r test/requirements.txt\npytest\n```\n\n## Feedback & Contributing\n\nFeedback and contributions of any kind are welcome.\n\n- Please file bug reports and/or feature requests as [GitHub issues](https://github.com/inhumatesystems/rti-client/issues)\n- Suggest code changes by creating a [pull request](https://github.com/inhumatesystems/rti-client/pulls)\n- For any other questions, comments or inquiries, [get in touch](https://inhumatesystems.com/#contact)\n",
"bugtrack_url": null,
"license": "Proprietary",
"summary": "Inhumate RTI Client",
"version": "1.2.1",
"project_urls": {
"Homepage": "https://github.com/inhumatesystems/rti-client"
},
"split_keywords": [
"rti"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "9615afb5f92f9abb34efc7c04b036c9d615d1088b3ec48e2ace89d7f08c1e148",
"md5": "e78ebacb513cffcb2943f110ea341e25",
"sha256": "77186081d0ec51c94b72efa03586dfb6b10b17c167bd8768332a776dadfca7e0"
},
"downloads": -1,
"filename": "inhumate_rti-1.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e78ebacb513cffcb2943f110ea341e25",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 49721,
"upload_time": "2025-01-23T18:12:18",
"upload_time_iso_8601": "2025-01-23T18:12:18.404806Z",
"url": "https://files.pythonhosted.org/packages/96/15/afb5f92f9abb34efc7c04b036c9d615d1088b3ec48e2ace89d7f08c1e148/inhumate_rti-1.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "93b14e19b2314977ba2cfb436426c06e0feacb8e05404e649a8e9f0d0d5d9e60",
"md5": "80f17e68e9968613be1c2ebee3ddea7a",
"sha256": "357ed16f7d62fd32aadd8a376b48996bf3bf2983c00d450ac7643f0f5b2f5501"
},
"downloads": -1,
"filename": "inhumate_rti-1.2.1.tar.gz",
"has_sig": false,
"md5_digest": "80f17e68e9968613be1c2ebee3ddea7a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 29203,
"upload_time": "2025-01-23T18:12:20",
"upload_time_iso_8601": "2025-01-23T18:12:20.986014Z",
"url": "https://files.pythonhosted.org/packages/93/b1/4e19b2314977ba2cfb436426c06e0feacb8e05404e649a8e9f0d0d5d9e60/inhumate_rti-1.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-23 18:12:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "inhumatesystems",
"github_project": "rti-client",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "inhumate-rti"
}