Metadata-Version: 2.4
Name: robomaster-sdk-modern
Version: 0.1.1.76
Summary: Community-maintained DJI RoboMaster Python SDK fork with Python 3.14+ support
Home-page: https://robomaster-dev.rtfd.io/
Author: RoboMaster SDK Community Fork
License: Apache License 2.0
Project-URL: Homepage, https://robomaster-dev.rtfd.io/
Project-URL: Documentation, https://robomaster-dev.rtfd.io/
Keywords: dji,robomaster,sdk,robot,drone
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
Requires-Python: >=3.14
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: av>=16.1.0
Requires-Dist: numpy>=2.3.4
Requires-Dist: opencv-python>=4.13.0.92
Requires-Dist: psutil>=7.2.2
Provides-Extra: qrcode
Requires-Dist: MyQR>=2.3.1; extra == "qrcode"
Provides-Extra: release
Requires-Dist: build>=1.2.2.post1; extra == "release"
Requires-Dist: twine>=6.1.0; extra == "release"
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# RoboMaster-SDK

[![Gitter](https://badges.gitter.im/RoboMaster-SDK/community.svg)](https://gitter.im/RoboMaster-SDK/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

<img src="docs/source/images/robomaster.jpg" width="600">

Learn more about the RoboMaster Education Robot: https://www.dji.com/robomaster-ep

RoboMaster Developer Guide: https://robomaster-dev.rtfd.io/

Gitee link for RoboMaster SDK download: https://gitee.com/xitinglin/RoboMaster-SDK

## Python support

This fork targets **CPython 3.14 and newer**.

PyPI distribution name: **`robomaster-sdk-modern`**.

The original DJI repository was built around Python 3.6-3.8 era tooling. This fork updates the package metadata, runtime compatibility, and media-extension build path for modern interpreters.

## Source installation

Install from PyPI:

```bash
python -m pip install robomaster-sdk-modern
```

This is now the canonical install path. Media streaming support is provided through the PyPI dependency `av`, which already ships cross-platform FFmpeg-backed wheels.

Install from a local checkout:

```bash
python -m pip install .
```

Install the optional QR-code helper used by `examples/01_robot/05_sta_conn_helper.py`:

```bash
python -m pip install MyQR
```

## Media streaming support

Video and audio streaming now use the `av` Python package by default.

- `av` publishes CPython 3.14 wheels for Linux, macOS, and Windows with FFmpeg bundled.
- `libmedia_codec` remains supported as a legacy fallback backend for advanced/source users, but it is no longer required for normal package installs.
- The default PyPI package no longer needs a custom native wheel pipeline just to enable camera/audio features.

## Compatibility changes in this fork

- Replaced `audioop` usage with a NumPy-based PCM resampler because `audioop` was removed in Python 3.13.
- Replaced `netifaces` and `netaddr` subnet discovery with `psutil` plus the standard library.
- Updated package minimums to versions that publish Python 3.14-compatible wheels.

## Release workflow

`pyproject.toml` is now the canonical build metadata for the forked distribution.

Build and upload with:

```bash
python -m pip install .[release]
python -m build
python -m twine upload dist/*
```
