Python implementation of USB DFU 1.1 spec Also supports STMicroelectronic extensions (known as DfuSe).
Based upon python-libusb1.
"raw" protocol should be correctly implemented. Higher level code (file format parsing & generation) is not complete/stable yet. Use at your own risk.