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.1.3.tar.gz (2.6 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.3-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: robot_wrapper_sdk-0.1.3.tar.gz
  • Upload date:
  • Size: 2.6 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.3.tar.gz
Algorithm Hash digest
SHA256 47b9b8637c86edf55c27ad0b16e24bb4d4d1f5db89a0f1f8ea76a6555f667311
MD5 49c812e4b723857b030c225aae3ee0a3
BLAKE2b-256 75db3626e94153e98e3f554e2c076068b9e8fbed1f1bcba144a5921aa895ea66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robot_wrapper_sdk-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2c02ac6d3ba08140e21273b2140440882b27dbc6489f349ee290eff174ea7bb9
MD5 a48e7add3291e09009f9c269a73f7662
BLAKE2b-256 ee1164b2166130829abdabd312bef6ac357bf8e3bf78272cd7a0f8364cfe8c39

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