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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260412103100514953.tar.gz
Algorithm Hash digest
SHA256 ad11de71e1bc9cd30a6984a5c80fa0e67874c95e11bfb06658dd428ae682576a
MD5 43335983a153cb66450a840ca3c14c21
BLAKE2b-256 f506c8df6f22c3dbc6e53f8def59017fb3646d0fa4dc41bcacac10966d1228bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260412103100514953-py3-none-any.whl
Algorithm Hash digest
SHA256 42c1f4285502564ff37c628640bd6b1cbdf8957490d658d0e45f2ed9e59b4df0
MD5 3cc58772802b957a185d25a99c689ff3
BLAKE2b-256 8450be298a347933eaf414270b583257855ba5245c2fbf60cd66253f0b2ba8a9

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