I been working for some time with some motor controllers that can be controller directly from Python3. You just import a motor object from a Python package, and start to build with it. (Yes you would need the hardware as well). Here are some of the stuff i have built with it.
They are based on Trinamic TMC5160 motion controller chips. And will be coming in different versions.
Will probably release them for beta testing in a month or so.
Twitch: https://twitch.tv/MariusRH
Instagram: https://www.instagram.com/mariusheier/
Discord: https://discord.com/invite/QcCkfbkp3S
Twitter: https://twitter.com/mariusheier