Skip to main content

Robot Platform API SDK

Project description

Robot Platform SDK (Python)

Robot Platform provides a clean‑architecture, DDD‑compliant Python SDK for interacting with the robot management backend. The SDK ships with both synchronous and asynchronous clients, automatic authentication, and token‑refresh middleware.


📦 Installation

pip install robot-wrapper-sdk

🚀 Quick start

from robot_sdk import RobotPlatformModule

# Auto‑configuration via environment variables (recommended)
#   ROBOT_PLATFORM_BASE_URL
#   ROBOT_PLATFORM_USERNAME
#   ROBOT_PLATFORM_PASSWORD
#   ROBOT_PLATFORM_TENANT (default: "default")

sdk = RobotPlatformModule()  # reads env vars automatically

# Synchronous call example
robot = sdk.robot_usecase.get_robot_profile("2029943774539935744")
print(robot.platform)

# Asynchronous call example
import asyncio

async def async_demo():
    async_sdk = await RobotPlatformModule.async_init()
    robot = await async_sdk.robot_usecase.get_robot_profile_async("2029943774539935744")
    print(robot.platform)

asyncio.run(async_demo())

📚 Documentation

The full API reference and usage guide live in the repository:

  • Guide: docs/guide.md – step‑by‑step walkthrough of all use‑cases.
  • API reference is generated from type‑hints and can be inspected via help(RobotPlatformModule).

💡 Examples

The examples/ directory contains ready‑to‑run scripts that demonstrate common scenarios:

Run any example directly:

python examples/robot_profile.py

🛠️ Build & publish (maintainer guide)

# Create a clean virtual environment
make venv

# Install build tools
make install

# Build source and wheel distributions
make build

# Publish to PyPI (requires twine and valid credentials)
make publish

The Makefile lives in the SDK root and abstracts the above commands.


📄 License

MIT License – see the bundled LICENSE file.


This README is rendered on PyPI, so all relative links (docs/, examples/) resolve to the files shipped in the source distribution, allowing developers to browse the documentation and example code directly from the package page.

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

robot_wrapper_sdk-0.1.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

robot_wrapper_sdk-0.1.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file robot_wrapper_sdk-0.1.2.tar.gz.

File metadata

  • Download URL: robot_wrapper_sdk-0.1.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.4

File hashes

Hashes for robot_wrapper_sdk-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1479e947824ab2b50e7eafebf1180c6cc346375b75ed5d01bdf4352b3e1b8ab8
MD5 1c5b8f244967a1df455fd457de639f24
BLAKE2b-256 468974958547d8a840089e6e15bf7a8e3265ad2adb8112d7c5ba00c274b04251

See more details on using hashes here.

File details

Details for the file robot_wrapper_sdk-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for robot_wrapper_sdk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3533634fabb19e580bdc7bd5122a01dea6413c011b27b5ccc5650dac29fcab40
MD5 7717784eb9c1731c5fb5a3871b57bc4a
BLAKE2b-256 ef1dd107335a4e7974c184cbad0e5d09ddda7691a0d5d7c958579a0cff79bb83

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