WPC Python Driver
Overview
WPC Python driver is an easy-to-use open-source API for beginners and professionals. It simplifies communication with WPC products using a consistent and intuitive interface.
With rich examples and simple logic — just open, read/write, and close — you can easily access or update data. It is a practical tool for both learning and developing applications with real-world hardware.
⚠️ Note: Please ensure your firmware version is up-to-date to maintain compatibility.
Architecture
The driver supports both synchronous and asynchronous operation:
Synchronous: Executes tasks step-by-step, blocking until each completes.
Asynchronous: Runs tasks independently, allowing concurrency and scalability.
Synchronous APIs are easier to understand and debug, while asynchronous APIs are ideal for high-performance applications.
Install and Upgrade
Install via pip:
pip install wpcsys
To install without dependencies:
pip install wpcsys --no-deps
To upgrade:
pip install --upgrade wpcsys
Supported Platforms
This package provides prebuilt binaries (.so / .pyd) for:
Python Version |
Platform |
File Format |
Supported WPC Products |
|---|---|---|---|
3.9 ~ 3.12 |
x86_64 Linux |
.so |
All WPC products supported |
3.9 ~ 3.12 |
Windows (win_amd64) |
.pyd |
All WPC products supported |
3.9 ~ 3.12 |
aarch64 Linux |
.so |
Drone products only |
- ⚠️ Warning: aarch64-linux-gnu builds support only WPC drone products.
Use with other products may cause errors or unexpected behavior.
Quick Start
A minimal working example:
from wpcsys import pywpc
print(pywpc.PKG_NAME)
print(pywpc.HANDLE_LIST)
Example output of HANDLE_LIST:
['DeviceFinder', 'Drone', 'EthanA', 'EthanA2', 'EthanD', 'EthanEXD', 'EthanI', 'EthanIA', 'EthanL', 'EthanO', 'EthanP', 'EthanT', 'USBDAQF1D', 'USBDAQF1DSNK', 'USBDAQF1AD', 'USBDAQF1AOD', 'USBDAQF1TD', 'USBDAQF1RD', 'USBDAQF1CD', 'WifiDAQE3A', 'WifiDAQE3AH', 'WifiDAQF4A', 'WifiDAQE3AOD', 'WifiDAQE3AO', 'STEM', 'EMotion', 'EDriveST']
Resources
License
Licensed under the MIT License. See LICENSE for details. All included components allow for both commercial and non-commercial use.
Metadata
Release files for wpcsys 3.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wpcsys-3.2.6-py3-none-any.whl | Python 3 | none | any | Details |
Release files / wpcsys-3.2.6-py3-none-any.whl
| Download URL | wpcsys-3.2.6-py3-none-any.whl |
|---|---|
| Size | 35.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e9cb7b1d39198e72f4fa88e18508db7de36e5c598c0cd3df006a306584f2564
|
|
BLAKE2b-256 checksum How to use checksums |
28aa65411b57b4d383a38a4381286e35e949ebd230c84e823855318e309fbb90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.13
|