Wuji SDK: Python package for automatic device discovery and real-time data streaming with Wuji devices.
Actively maintained. Last release 7 days ago. A safe choice.
pip install wuji-sdkwuji-sdk (Python)
Python examples for Wuji Glove, Wuji Hand 2, Wuji Hand, and hand retargeting. Install the SDK, run an example, and use its source as a starting point for your application.
See the SDK documentation for API details and the C examples for the C SDK.
Installation
python -m pip install wuji-sdk
Wheels are available for CPython 3.8–3.14 on Linux x86_64 and aarch64 (glibc 2.17 or later), macOS 11.0 or later on Apple Silicon, and Windows 10 21H2 x64 or later. See Windows Examples for the Windows example list.
Quick Start
Download or clone the repository to get the example source files. Run these commands from its root directory, which contains examples/.
Scan and list devices, then connect one Wuji Glove and print its identity:
python examples/python/wuji_glove/0_connect.py
Automatic connection requires exactly one discovered device. If several devices are present, use the serial number from the scan:
python examples/python/wuji_glove/0_connect.py --sn DEVICE_SN
For Wuji Hand 2, use wuji_hand_2/0_connect.py. Both connection examples disconnect before exiting.
Examples
Each source file starts with its prerequisites, usage, and expected behavior. Ordinary examples are standalone files. Copy the complete directory for examples with bundled data. Corresponding Python and C examples use the same number and name. Python-only async subscription examples appear last.
Wuji Glove
| Example | Function | Preparation |
|---|---|---|
0_connect.py | Scan, connect, and list parameters and topics. Set connection options when using a serial number. | One Wuji Glove. |