Skip to main content

Raw bindings for UBO App.

Project description

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

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())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file ubo_app_raw_bindings-1.7.1.dev260406103531025510.tar.gz.

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260406103531025510.tar.gz
Algorithm Hash digest
SHA256 ca8f2601cfadd967d511e42393bd8af602d82a6a6b2ad5606edc19f39b657d12
MD5 536eddaf03abb6295c58462c000b8e5f
BLAKE2b-256 94543b2d1d67334f0868f71919dc3e85c0e83ac26e7863777166b6f68e6935e5

See more details on using hashes here.

File details

Details for the file ubo_app_raw_bindings-1.7.1.dev260406103531025510-py3-none-any.whl.

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260406103531025510-py3-none-any.whl
Algorithm Hash digest
SHA256 2ac24dd24f6d3c4f1901b016de64b8ef161be080f867280cf456bb90ef7e3b94
MD5 5ba942a35c0c367e5851766f333ef8c8
BLAKE2b-256 d92c53bee725d8b03f3984a7807fd5a4a554cc622bb596bdde4e87151af7a330

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page