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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260424103102100484.tar.gz
Algorithm Hash digest
SHA256 9843f021f6243babb74c64b2375df01b2199e655cec1f37b940715839b570ec7
MD5 4829e4b31b9b36ac50916a1e383cf6cf
BLAKE2b-256 edc2eea81970c0438435caf23f0f5511f3a63b7e78bbb4afe78f2a9367183518

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260424103102100484-py3-none-any.whl
Algorithm Hash digest
SHA256 49766b6ba9aa83c699a82616d8b15b13fbc8b6e5d35b9630d38fb9cbcc8931de
MD5 2616e84235ec9971511ce1a31baa8b9b
BLAKE2b-256 9528b3d98c2de947fa9d81c240aace56d6d972de862fd0184d1d9f6fbbc6b938

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