# Ubo App Python Bindings
This repository contains Python bindings for the Ubo App, allowing developers to interact with the Ubo App's functionality using Python over gRPC.
## Sample Usage
```python
import asyncio
from ubo_bindings.client import AsyncRemoteStore
from ubo_bindings.ubo.v1 import Action, Notification, NotificationsAddAction
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
async def main():
client = AsyncRemoteStore("localhost", 50051)
action = Action(
notifications_add_action=NotificationsAddAction(
notification=Notification(
title="Test Notification",
content="This is a test notification.",
),
),
)
await client.dispatch_async(action=action)
client.channel.close()
loop.run_until_complete(main())
```
Raw data
{
"_id": null,
"home_page": null,
"name": "ubo-app-raw-bindings",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.12,>=3.11",
"maintainer_email": "Sassan Haradji <me@sassanh.com>",
"keywords": "bindings, grpc, home assistance, python, raspberry pi, rpi, ubo, ubo-pod",
"author": null,
"author_email": "Sassan Haradji <me@sassanh.com>",
"download_url": "https://files.pythonhosted.org/packages/cb/8c/9d812d2bd7f0deb2a1985f76aa677fc0b8394614d00bf99334e5663f1921/ubo_app_raw_bindings-1.4.1.dev5725071510310099535.tar.gz",
"platform": null,
"description": "# Ubo App Python Bindings\n\nThis repository contains Python bindings for the Ubo App, allowing developers to interact with the Ubo App's functionality using Python over gRPC.\n\n## Sample Usage\n\n```python\nimport asyncio\n\nfrom ubo_bindings.client import AsyncRemoteStore\nfrom ubo_bindings.ubo.v1 import Action, Notification, NotificationsAddAction\n\nloop = asyncio.new_event_loop()\nasyncio.set_event_loop(loop)\n\n\nasync def main():\n client = AsyncRemoteStore(\"localhost\", 50051)\n\n action = Action(\n notifications_add_action=NotificationsAddAction(\n notification=Notification(\n title=\"Test Notification\",\n content=\"This is a test notification.\",\n ),\n ),\n )\n\n await client.dispatch_async(action=action)\n client.channel.close()\n\n\nloop.run_until_complete(main())\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Raw bindings for UBO App.",
"version": "1.4.1.dev5725071510310099535",
"project_urls": null,
"split_keywords": [
"bindings",
" grpc",
" home assistance",
" python",
" raspberry pi",
" rpi",
" ubo",
" ubo-pod"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "f9253fa13b51105627528adcd5cd68c87aa278b3fb8a2ddfa994465db55bef97",
"md5": "40a623c93c17452efb6eb3c0de8c4ce7",
"sha256": "ffc4da6a4a7e5bc4c700a1ab7b13ce2143d9ef29c3f1afc9c38b84ca90923e5e"
},
"downloads": -1,
"filename": "ubo_app_raw_bindings-1.4.1.dev5725071510310099535-py3-none-any.whl",
"has_sig": false,
"md5_digest": "40a623c93c17452efb6eb3c0de8c4ce7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.12,>=3.11",
"size": 20208,
"upload_time": "2025-08-13T05:38:53",
"upload_time_iso_8601": "2025-08-13T05:38:53.341840Z",
"url": "https://files.pythonhosted.org/packages/f9/25/3fa13b51105627528adcd5cd68c87aa278b3fb8a2ddfa994465db55bef97/ubo_app_raw_bindings-1.4.1.dev5725071510310099535-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "cb8c9d812d2bd7f0deb2a1985f76aa677fc0b8394614d00bf99334e5663f1921",
"md5": "1a4dd8b1f98cb53b1a15d0900ad22ea1",
"sha256": "534ca0b48a8695f85ea996c818ea98a4840a7d3261742ef3c51c2f98d9af82ca"
},
"downloads": -1,
"filename": "ubo_app_raw_bindings-1.4.1.dev5725071510310099535.tar.gz",
"has_sig": false,
"md5_digest": "1a4dd8b1f98cb53b1a15d0900ad22ea1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.12,>=3.11",
"size": 18037,
"upload_time": "2025-08-13T05:38:56",
"upload_time_iso_8601": "2025-08-13T05:38:56.992566Z",
"url": "https://files.pythonhosted.org/packages/cb/8c/9d812d2bd7f0deb2a1985f76aa677fc0b8394614d00bf99334e5663f1921/ubo_app_raw_bindings-1.4.1.dev5725071510310099535.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-13 05:38:56",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "ubo-app-raw-bindings"
}