Python: Format storage & update firmware

Hi

I’m trying to write a python script that will format the Sequoia’s internal storage and send it a firmware file. I’m trying to follow the examples given on the Github repository of Sequoia-PTPY, but I can’t figure out how to trigger the formatting and firmware sending. Can you help?

Thank you