Transform tool in Python scripting

Can I use transform tool with python?
Set Position is one of the actions I am interested in right now.

If you switch to the transform tool and use the docker to transform, sureā€¦ but what exactly are you trying to do?

Bare minimum is to set the position of transformation.