Time Encoding and Decoding Toolbox for Python