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.6.1.dev9225111810351565355.tar.gz.

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.6.1.dev9225111810351565355.tar.gz
Algorithm Hash digest
SHA256 e27db620c5a9c32b3fd6ae4c013dc3b662c10ff17c5a89d5214f8f5d44576169
MD5 bfd0d469416d181cf8b789ee0be8f1cd
BLAKE2b-256 72e98d14c65693e306684a2719e5c30021f474330ddbb7b225e2cb04e419e5c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ubo_app_raw_bindings-1.6.1.dev9225111810351565355.tar.gz:

Publisher: publish_to_pypi.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.6.1.dev9225111810351565355-py3-none-any.whl.

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.6.1.dev9225111810351565355-py3-none-any.whl
Algorithm Hash digest
SHA256 4469d6be930cba7404f5a5a44a60818d3c1416e1032d64828dec195e059dc81e
MD5 8aa8202d521d7508cee8acf0df4dcdb3
BLAKE2b-256 85afbb6a5606a529ab4d2b0551f3cba97f40f022f2b48d0b53c081058c3c3732

See more details on using hashes here.

Provenance

The following attestation bundles were made for ubo_app_raw_bindings-1.6.1.dev9225111810351565355-py3-none-any.whl:

Publisher: publish_to_pypi.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