Nxt-rubiks is a project mainly written in Python, it's free.
Solve rubik's cube with LEGO Mindstorm robot, Python and Bluetooth