pyduinocli is a wrapper library around arduino-cli to make the arduino-cli calls easy from a python script.
- Provide a clear and easy way to use arduino through a python program
- Give the ability to programmatically flash arduino-like boards
- Update 3D printer firmwares automatically
To install the library simply do
pip install pyduinocli
To start using the library simply import the module, create a new Arduino instance and enjoy.
import pyduinocli
arduino = pyduinocli.Arduino("./arduino-cli")
print(arduino.version())
See LICENSE