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.4.1.dev5325070410399481015.tar.gz.

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.4.1.dev5325070410399481015.tar.gz
Algorithm Hash digest
SHA256 c35b01247703a207aaddaf7f258c0c4d66423ec85c1e1a7d1f24c6a11845e86f
MD5 b955cd1a904a68c2d2fb77a6f41065d9
BLAKE2b-256 71159c2ac66e25166d9cc6781303c4d3c03bdc92b2f72805d8cebbe76f02e954

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.4.1.dev5325070410399481015-py3-none-any.whl
Algorithm Hash digest
SHA256 19d5fd654817cae5a7d9122e47446915cc6d9c7ae6655b2290cb1426b6e1ba19
MD5 bba7f9dfa8efe90992d1c6c880557cfa
BLAKE2b-256 ac8443a8101883815e4b58a9e52139a4609cb4adc9daf342a3854d2ff40c934d

See more details on using hashes here.

Provenance

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