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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.6.1.dev8425102910399565349.tar.gz
Algorithm Hash digest
SHA256 2328ae04cda6475d2167aec06d2d780e25970107686619fd90750e99e3828026
MD5 f1ab721ff29f2ebe980c625c6944e5f4
BLAKE2b-256 1dbbf3210148aa503d46230b3c7cd0022c256c16a1c86ae8143a0e32c48c0e05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.6.1.dev8425102910399565349-py3-none-any.whl
Algorithm Hash digest
SHA256 a0d133ca45a20862e76fb968dbec7c06c7cb5d5ca33141b8cebd4ddb42aada93
MD5 31e2b5e308bed6f387dbf44d2b2689ee
BLAKE2b-256 454f8628eb4c26c73a929b0c1b9ed58868b8ad66c1c7f96216ef3b4557765f79

See more details on using hashes here.

Provenance

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