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-2.0.1.dev260618103102525397.tar.gz.

File metadata

File hashes

Hashes for ubo_app_raw_bindings-2.0.1.dev260618103102525397.tar.gz
Algorithm Hash digest
SHA256 8ebfdfea47522ad0adb527f5b8367da9381c8a36d4efed93722ac11a25505c4f
MD5 5fed0c27085047e5a5107c19641d1ad1
BLAKE2b-256 398b86a8ac0a6bdc121cfbc95e5a746dde6ed6d31eda3f51d8de40e2e19a2491

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-2.0.1.dev260618103102525397-py3-none-any.whl
Algorithm Hash digest
SHA256 2599e1973774978559f58908bb1dbf409603a1e7ce83d28b3c4fb9d65ff06ccf
MD5 2f54c01c94a90839664688234c046142
BLAKE2b-256 cf4314b9d80c2efac35e900eeb0a5ba22c4a3caa7fe1645430b22cd845ff31ca

See more details on using hashes here.

Provenance

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