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

ubo_app_raw_bindings-2.0.0.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ubo_app_raw_bindings-2.0.0-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

Details for the file ubo_app_raw_bindings-2.0.0.tar.gz.

File metadata

  • Download URL: ubo_app_raw_bindings-2.0.0.tar.gz
  • Upload date:
  • Size: 27.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ubo_app_raw_bindings-2.0.0.tar.gz
Algorithm Hash digest
SHA256 1dcb5bfa9f569c730181f6142a3348e94ab8eae10e56644cba5b0068df8f662a
MD5 010530e234fc27a821d49c95ca0d5f4f
BLAKE2b-256 2843f43e5d0af6d5effebbb25866ed121a31bc1f7b7f7b2edb44d17a8f7bde0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ubo_app_raw_bindings-2.0.0.tar.gz:

Publisher: integration_delivery.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-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ubo_app_raw_bindings-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02c3ee3014525953720c4ae38d7d3b348106d2776314c8e670d302f7b8ffebd2
MD5 9ceeceff2a9b47742b184f1a9e1b1ad5
BLAKE2b-256 093e6c831ad4c21708000fcbf4119d88625fd3cae82a9144c273004419cb6457

See more details on using hashes here.

Provenance

The following attestation bundles were made for ubo_app_raw_bindings-2.0.0-py3-none-any.whl:

Publisher: integration_delivery.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