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-1.7.1.dev260616103100994855.tar.gz.

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260616103100994855.tar.gz
Algorithm Hash digest
SHA256 f2d10012c88e9fb943e89f5b2434a1a0fd7c1973c8cfdb8f43ae1d8a272eb548
MD5 354b76e58a29ff27e511fa5c04a47c01
BLAKE2b-256 f7ebaa6f727aef8ad63f72f20753b5f3951324ba7459507a34408b3857fd79a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260616103100994855-py3-none-any.whl
Algorithm Hash digest
SHA256 8a602672e2240a189a367e62d945b55b48826f42b8444a9b3a228eb6c7a9c983
MD5 03e0296f59ffbd8fbd71f4bc91494c54
BLAKE2b-256 9070dfb6a496f1e577b5704d78beaa32428eb5cd52a2cdaa0ce62b7ab784214c

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