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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260616103551015651.tar.gz
Algorithm Hash digest
SHA256 44146f363d0a0677245a3e1b6aa239c6d218c7c7eb72ffc22d79d7d7b1fc61ec
MD5 7b7586e3d2b47291905d24cdbc3f50b5
BLAKE2b-256 d14e81f908318377517460cd07bdb2c3c02779d902bdec39a3c5835959d03b6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ubo_app_raw_bindings-1.7.1.dev260616103551015651.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.dev260616103551015651-py3-none-any.whl.

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260616103551015651-py3-none-any.whl
Algorithm Hash digest
SHA256 096c5d83ab5f2ad767a32de3349083e73f880ac7f4ddf137c7dc99ff7686ee45
MD5 e9f57ad9c3fe69bb0b36910b8acb77ee
BLAKE2b-256 469a43ca26c5990c11d6a4416c52df94fd3d1ab38f447ad3607b1320c354be89

See more details on using hashes here.

Provenance

The following attestation bundles were made for ubo_app_raw_bindings-1.7.1.dev260616103551015651-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