A python library to manipulate timestreams