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.dev260702103101505650.tar.gz.

File metadata

File hashes

Hashes for ubo_app_raw_bindings-2.0.1.dev260702103101505650.tar.gz
Algorithm Hash digest
SHA256 d35985fadc0c024d7f90b7cc11b822158cd658ebbfe1ac1eb99e85bffcde2840
MD5 7686360caf1bc250bc95feddc2ef6577
BLAKE2b-256 b04e6723fe5c622163d955039f4bd0e0b4de753651045f23bcb54a03605df4a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-2.0.1.dev260702103101505650-py3-none-any.whl
Algorithm Hash digest
SHA256 ca89b3dae1621714b59d831e3193008c41175eb6163634aa399f18b1d6df4be2
MD5 dbcda91cfaa0ff3580a3181ac794ca01
BLAKE2b-256 529843a6f67e3e64f6bcf33a9ca1eed015e8b424e059125b6dc1fc8dd143be42

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