Python's library to process time values instead of using constants