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.7.1.dev260406103509751974.tar.gz.

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260406103509751974.tar.gz
Algorithm Hash digest
SHA256 dd9f681ab0e685dfa78ed440f534c5fa6501c89998605384601bb085759b235b
MD5 f23d88a3915cbd740004643898cf037e
BLAKE2b-256 186d6ad02a93a895d516bbefb9e28becb453e6202e511ed738085f54f0fdf4a1

See more details on using hashes here.

File details

Details for the file ubo_app_raw_bindings-1.7.1.dev260406103509751974-py3-none-any.whl.

File metadata

File hashes

Hashes for ubo_app_raw_bindings-1.7.1.dev260406103509751974-py3-none-any.whl
Algorithm Hash digest
SHA256 5ab421e3ac7c0ed55905d2ef3aa3306f3db80fd431aee78bf3498cf805ef0fea
MD5 3b18105fe367c6feb9f80a3751b03fd3
BLAKE2b-256 f9ef58121aa71ec4e0ec2de1e5ba3da5d9494527ac03ed41a1ced08a69384d90

See more details on using hashes here.

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