python module to make DB operations simpler