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_APP_ID
#   ROBOT_PLATFORM_APP_SECRET

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.2.1.tar.gz (7.1 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.2.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: robot_wrapper_sdk-0.2.1.tar.gz
  • Upload date:
  • Size: 7.1 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.2.1.tar.gz
Algorithm Hash digest
SHA256 13a357ce6d4fa81d1168d49117d2e7ec03593d06b1df32b9d6fa884a034297d2
MD5 ed0464ffbe87a4c2c2f5eabd5f148c57
BLAKE2b-256 996ce033d7634ef0b36f63a77e6de5ee498b0cd2d5d476733c7a309842c6becc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robot_wrapper_sdk-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 51ca298fb63776231bfc0b418d9186a527d50472823600c9d6a69567fee81fcd
MD5 141dd49fd67030b67caea260f83b5ab2
BLAKE2b-256 1802d3d3db8ac38e5b18ca91baf0871b0acdea879ecc77e1f467ff213a3948db

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