Control Servo Motor with GPIO pins and PWM

I’m looking to control a Servo motor using my Libre Le Potato and the pins that support PWM. Can you provide some guidance for how to control a servo motor by hardware driven PWM via ldto tool? and is the tool only available through command line, or is there a python wrapper?