resetting dbs with python

copy python script for resetting dbs from ci-tools and deprecate bash script