Fork of https://bitbucket.org/blueluna/pytmex