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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260615103975198102.tar.gz
Algorithm Hash digest
SHA256 a532ed5471dc799ac424b83717d8acb70938614f21f510d4929cf25c3bdfaf5b
MD5 c5f0057e00cee7b4211ea6d1302898ee
BLAKE2b-256 56cf6534ad123a20f4aca19e019d0b353f7786f951c3de4ea57c82d47a81faea

See more details on using hashes here.

Provenance

The following attestation bundles were made for ubo_app_raw_bindings-1.7.1.dev260615103975198102.tar.gz:

Publisher: integration_delivery.yml on ubopod/ubo_app

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260615103975198102-py3-none-any.whl
Algorithm Hash digest
SHA256 ff7e9a6cf5e30f5c4a6fdffbb4a72cc5c51b4cba6e033c92e5e5214a32e3a08b
MD5 62653c88999654d8bfaffab4ca40094f
BLAKE2b-256 d4fae6cbb7c0ced24191f32ef03a189ed3f5f70354b7b41baadaf37e007754f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for ubo_app_raw_bindings-1.7.1.dev260615103975198102-py3-none-any.whl:

Publisher: integration_delivery.yml on ubopod/ubo_app

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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