python version of my tool