add ability to get ttxpid from python