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.0.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.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: robot_wrapper_sdk-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 949b45332b9689237b3810d735a424e825a32e9d595b3e59f0cdd227469da786
MD5 d58e57af2b16e6642b6ed83725cf7c3e
BLAKE2b-256 4230df13b9d5c4dc3d228adb70aac3599058ae4052bc2e5a9ba022a93092680e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robot_wrapper_sdk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2d24316488b7741eb7cca70d53e4be5eb722a16e74579129591f6f2d4f107ed
MD5 842c525bc395620ba8eb8b425831f3d4
BLAKE2b-256 5df8c1252092881c24f8177c47540dadcf271ead540669cd2cbe1d1d2f46d0c5

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