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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260406103575299551.tar.gz
Algorithm Hash digest
SHA256 34231467a3620e7b7c8134315178d155de81afc5e42fab223d6ddc910f118559
MD5 d43a81548a371b23a2e571388c4f362f
BLAKE2b-256 e62263d5baef44228cdf986236d27ca4536226f094cd2bbe6e952eb27247eb91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260406103575299551-py3-none-any.whl
Algorithm Hash digest
SHA256 ec3611af7d57038fde2a623d12b6f37bebeb8b3fbd353e47f90c2cbe19d7a951
MD5 4efb3c888049bb253d70b32a6a42eeb2
BLAKE2b-256 c2fd84507cd79f135d4baa948452cef230d43e08db4a3307c1ebeb5633cd1b60

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