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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260412103579798571.tar.gz
Algorithm Hash digest
SHA256 2f2de35cb95c143dc2990209abe99f1fa252dd90563eda2f8e76ef33d7c43603
MD5 eaea34a9b0b7e7f82a6c87e3297ac591
BLAKE2b-256 0280b5bf683bb79261aa15564e4dec0cba77cb6b43696fefe3d3f4a565301cb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260412103579798571-py3-none-any.whl
Algorithm Hash digest
SHA256 19503a6db0a4c53b5bbeb0a8d4c66cc6991eb5597516c49dd89c469703d715c9
MD5 40aa164fb262c1d09c721381a24366ea
BLAKE2b-256 e3a74180870fb6f27a06fd459cdbbacca0017e88808017fcf720e4c12ad048ac

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