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-1.4.1.dev5725071510310099535.tar.gz.

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.4.1.dev5725071510310099535.tar.gz
Algorithm Hash digest
SHA256 534ca0b48a8695f85ea996c818ea98a4840a7d3261742ef3c51c2f98d9af82ca
MD5 1a4dd8b1f98cb53b1a15d0900ad22ea1
BLAKE2b-256 cb8c9d812d2bd7f0deb2a1985f76aa677fc0b8394614d00bf99334e5663f1921

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.4.1.dev5725071510310099535-py3-none-any.whl
Algorithm Hash digest
SHA256 ffc4da6a4a7e5bc4c700a1ab7b13ce2143d9ef29c3f1afc9c38b84ca90923e5e
MD5 40a623c93c17452efb6eb3c0de8c4ce7
BLAKE2b-256 f9253fa13b51105627528adcd5cd68c87aa278b3fb8a2ddfa994465db55bef97

See more details on using hashes here.

Provenance

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