Hi. It's a mixture of both. To show Python controlling sgp and to show the centering work. I can't guarantee it would work as well with your mount but if your mount gets stuck at a repeatable offset that is a sign it would work well by this approach. And converge quickly.
Unless you actually use scripting languages with sgp this won't help much. But for me it opens a door to use sgp under control of Python to make it behave the way I want.
Frank