The open source motion control software Machinekit has excellent Python bindings for different API. Machinetalk, the middleware stack, pymachinetalk, the client API for Machinetalk and the Python configuration API. Learn more at https://machinekoder.com/ and http://machinekit.io