Skip to main content

Python 3.14+ required. Earlier Python versions cannot install robowrap.

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.1

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.1
File Size Uploaded Provenance Actions
robowrap-0.9.1.tar.gz 23.3 kB With provenance Details for robowrap-0.9.1.tar.gz

Built distribution (wheel)

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

Total release size: 42.6 kB

Release files / robowrap-0.9.1.tar.gz

Download URL robowrap-0.9.1.tar.gz
Size 23.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3610ab11af8d8b210d0e3044d9f31935ec3975368e94c777a0151a9d84f5a62e
BLAKE2b-256 checksum
How to use checksums
9281df2ac27ed35c1e6c25578b19a7637c2be6b18b7479df4c99dab71d90dc1a
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.1-py3-none-any.whl

Download URL robowrap-0.9.1-py3-none-any.whl
Size 19.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93d3d20d6b157c0a217f8197c04028c46593c014a4216ba75528a38d7f5a83e9
BLAKE2b-256 checksum
How to use checksums
e4e47bf99b030bb096d424376ed6f312b0ac8ba32d5e8346927c8454f624b698
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.1

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.1.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