Python Script for Gpredict to Az/Ez rotator through serial port

HI need help! Any chance there is a python based script to run Az/Ez rotation with Gpredict?

Found this stepper controller.ino online, but its meant for Arduino and I am lacking the skills and understanding to convert this manually to python.

P.s I am not using SATNOGS image, but just a general Raspbian Buster image