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


Release history Release notifications | RSS feed

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-2.0.1.dev260702103102559955.tar.gz.

File metadata

File hashes

Hashes for ubo_app_raw_bindings-2.0.1.dev260702103102559955.tar.gz
Algorithm Hash digest
SHA256 de52dd231a5ba51ad1a8eb765a553d87ad1667a5467331a34083e1a36f3218f9
MD5 0f62347c87592c3087d65dda5be74141
BLAKE2b-256 0c2f967f7f992061c96eae6c017e5c4493e3204e7821fad5a527c370ec52133f

See more details on using hashes here.

File details

Details for the file ubo_app_raw_bindings-2.0.1.dev260702103102559955-py3-none-any.whl.

File metadata

File hashes

Hashes for ubo_app_raw_bindings-2.0.1.dev260702103102559955-py3-none-any.whl
Algorithm Hash digest
SHA256 6ff0a9d8340223a21b854e7b26975efaa6086ff49b84ba973558955aa4777a60
MD5 eab51f85fbd6c722992170dab6269a70
BLAKE2b-256 7c1a4b383b4bcb661a698f425ca42dcf34b9dd9c5bb68e3cd571e6fa2d62092c

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