Sorry to nitpick but, these functions have no state and so don't need to be a member of any class. They can just be functions in util.py. That would be simpler.