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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.6.1.dev9825113010350101544.tar.gz
Algorithm Hash digest
SHA256 db8f12a378b3c722ad49ea093d171dca0c96de54fadd46d1e5d16533a72d5020
MD5 6c81a7654440fd93ae0167c71f655fd3
BLAKE2b-256 62d37f9b2f10f03c6d1425b6f98993d8a4195d9c5f0f595dac37427c760830ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.6.1.dev9825113010350101544-py3-none-any.whl
Algorithm Hash digest
SHA256 5be2c7b58557dcd0d3021795596cbccafd9755079dbd143684587e833b4110fb
MD5 5fdee80a6598d71d77b7c1bacb622dec
BLAKE2b-256 bef30938eba70377ddde3eec883ab3d4df55d067bea99fd0cc3a5526bb84e174

See more details on using hashes here.

Provenance

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