py tool to make sql inserts