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.
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 via pip:
pip install wpcsys
To install without dependencies:
pip install wpcsys --no-deps
To upgrade:
pip install --upgrade wpcsys
This package provides prebuilt binaries (.so / .pyd) for:
Python Version | Platform | File Format | Supported WPC Products |
---|---|---|---|
3.8 ~ 3.12 | x86_64 Linux | .so |
All WPC products supported |
3.8 ~ 3.12 | Windows (win_amd64) | .pyd |
All WPC products supported |
3.8 ~ 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.
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']
- GitHub Repository
- Documentation
- Useful Conda Commands
- Run Examples in Console
- Build EXE from Python Code
- Install Miniconda and Create Virtual Env
- LabVIEW Run-Time Engine
Licensed under the MIT License. See LICENSE for details. All included components allow for both commercial and non-commercial use.