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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.6.1.dev125082910356101564.tar.gz
Algorithm Hash digest
SHA256 64748d1cb3681044f5c73b23f6fedeff2b5e1b6fe15e3ebc5abe32c14a6a13f5
MD5 8c311d2e6eb01f16df509e2057fa1b76
BLAKE2b-256 02c32f2c5d4ab1370ff189c6d96ab87e1c6cb44e0e48f27a24c1252a6951becf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.6.1.dev125082910356101564-py3-none-any.whl
Algorithm Hash digest
SHA256 6b8336b221155f1699cd6fb8130bfe4af127349d32c6e1a19c667ace962e2237
MD5 bf286b9631bab397d4dd8de48761f782
BLAKE2b-256 bfca5429f3e5261542f103f72849c14eef554e046ca5a94ddb03e2b2c525daac

See more details on using hashes here.

Provenance

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