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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.6.1.dev9725110310348101102.tar.gz
Algorithm Hash digest
SHA256 06a6be93d4391e3b5b765b7fa2655a8c1a21b632a079a4764cf2fbff46006c25
MD5 95cefa17b4b52fb17f154270a9ad19e1
BLAKE2b-256 365dc19b8c6996699833178a938b953152acd9e0403ec572af20f5630886ede6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.6.1.dev9725110310348101102-py3-none-any.whl
Algorithm Hash digest
SHA256 7cf8672dba825bfee73857482e95dcaa2e533f35933eadaaa0ab922aa9ef548a
MD5 1b8c128447f8976ffff4d65e356df31c
BLAKE2b-256 fdea89524eb3237c6cd47dcca4348e8b48cc2ef60a9c153b523172fddd7a9a8a

See more details on using hashes here.

Provenance

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