Skip to main content

robowrap

Student-first wrapper for the RoboMaster EP Python SDK.

The design goal is the same one shown in test.py: students should be able to write robot behavior as a sequence of clear intentions such as move, detect, grab, and close without learning the SDK transport layer first. Grouped subsystems like robot.cam, robot.arm, and robot.gun mirror the physical robot and keep the first classroom exercise short.

Python support

robowrap now supports modern Python and is packaged for Python 3.14+.

This change was made because the original DJI RoboMaster SDK appears to be unmaintained and still targets older Python releases. To keep the RoboMaster EP usable on current Python versions, robowrap now depends on the maintained robomaster-sdk-modern package instead.

Installation

python -m pip install --upgrade pip
python -m pip install robowrap

robowrap depends on robomaster-sdk-modern, so installing robowrap is usually enough. Installing both explicitly makes the SDK choice clear.

robot.cam.view() uses PySide6 for live display and does not use OpenCV. This avoids the PyAV/OpenCV duplicate FFmpeg conflict on macOS.

Snake_case policy

  • The public wrapper API is now snake_case only.
  • Legacy camelCase and mixed-case aliases have been removed; see the migration table.
  • The ambiguous setSpeed spelling remains an error directing callers to explicit speed APIs.

Start here

Example

from robowrap import RoboMaster

robot = RoboMaster()
robot.set_leds(0, 128, 255)
robot.forward(0.5)
robot.cam.detect_person()
robot.cam.view()
frame = robot.cam.frame()
robot.arm.move_to(x=0, z=50)
robot.close()

Metadata

Release files for robowrap 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robowrap 0.9.0
File Size Uploaded Provenance Actions
robowrap-0.9.0.tar.gz 20.1 kB With provenance Details for robowrap-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for robowrap 0.9.0
File Interpreter ABI Platform Actions
robowrap-0.9.0-py3-none-any.whl Python 3 none any Details for robowrap-0.9.0-py3-none-any.whl

Total release size: 38.3 kB

Release files / robowrap-0.9.0.tar.gz

Download URL robowrap-0.9.0.tar.gz
Size 20.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5d6f7d647dc0f110a1dc5ea477625a6d4d8451c474aa6e37f86359a0c907f185
BLAKE2b-256 checksum
How to use checksums
ab25fd59b732ed59a6faf0f7ba044ecfc7b74b69b77c0eebec2e6b35ce94d4ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / robowrap-0.9.0-py3-none-any.whl

Download URL robowrap-0.9.0-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4db4842e3185fc56a8fed212db1ff1b45bf8c3b1832dc336b68d5f448d15d387
BLAKE2b-256 checksum
How to use checksums
329b74694c3d749e79b4a2db22d0cb80e8da09e3f09a6ab84cc2ad61db43d508
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for robowrap 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for robowrap-0.9.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page