some utilities written in python