a python tool