Skip to main content

No project description provided

Project description

OaaS-SDK2

Python Lib for OaaS-IoT

Prerequisites

  • cargo (install via rust)
  • oprc-cli cargo install --git https://github.com/pawissanutt/oaas-rs.git oprc-cli
  • uv (python package manager)
  • docker or podman

Setup

uv sync
./.venv/Scripts/activate
# or
source ./.venv/bin/activate # for Mac or Linux 

Run Example with Docker Compose

docker compose up -d --build
# invoke new function of 'example.hello' class
echo "{}" | oprc-cli i -g http://localhost:10002 example.hello 0 new -p -

TODOs

Features

  • read data
  • Write data
  • Serve gRPC for invocation
  • Create an object reference
  • Call gRPC to invoke a foreign function
  • Implement thread Pool
  • Connect to Zenoh
  • Device Agent:
    • Invoke a remote function on the referenced object
    • Invoke a local function on the referenced object
      • Need testings!
    • Invoke a local function on device agent from the anywhere else
      • Need testings!
    • Access data from the referenced object
      • Need testings!
  • create interface of referenced object
  • declare deployment configuration in code

QoL Features

  • Improve data encode/decode
  • Development CLI
    • generate project
    • setup development environment (e.g., generate docker compose for ODGM)
    • generate YAML class definition from class in Python
    • build project
    • deploy class/object

NOTE

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

oaas_sdk2_py-0.1.9.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

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

oaas_sdk2_py-0.1.9-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file oaas_sdk2_py-0.1.9.tar.gz.

File metadata

  • Download URL: oaas_sdk2_py-0.1.9.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for oaas_sdk2_py-0.1.9.tar.gz
Algorithm Hash digest
SHA256 55b42a5de7aba02a52e7fc6d0f85d2cf6a38afc1f3c397b0c83f83293cbd17fe
MD5 83c7d3034461a333f043f9c29039484a
BLAKE2b-256 9c06e84f937c3f5b6a6db0f1df79ba5c872aed53718a5e12cb0da2d34c50c60b

See more details on using hashes here.

File details

Details for the file oaas_sdk2_py-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: oaas_sdk2_py-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for oaas_sdk2_py-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 44b007d5ed2845c4129d1498202b5d9838e5385152e787f07c878da39d88c1b2
MD5 948e4785f03c20266aaac5e07fcf2647
BLAKE2b-256 e017d674b06c6964c42cca1378d3a56da02ef1ef37f6f4d5b28fe4bca27a7c99

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