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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260406103100975599.tar.gz
Algorithm Hash digest
SHA256 974711fa106549721d4c0d0d4e75e25e763b9f28d45df7b5310d2852b562072a
MD5 e85cb29a2ab541a3ec8e23bb3f3305e3
BLAKE2b-256 10c39c8784c2a824631839e0bcbc4e77f03310afb72e7e616662d9cd896e9fa1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260406103100975599-py3-none-any.whl
Algorithm Hash digest
SHA256 ed4d1c9d6c3a9f2e9999f731381df02af988db55b88e983c7b293cbeb6878a5c
MD5 741ae186a70ef7b9389ef2740f764ada
BLAKE2b-256 d05555d3637e0ce18c2a912da01fef24d7251255b04224f0517ea2daa9df0406

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