Trackprofiler uses GPX (GPS exchange format) as its internal file formats for GPS tracks. That means that all uploaded tracks are converted to GPX.
It also means than the application must be able to parse and extract data from GPX files. It is done with a small python library that I opensourced a few weeks ago. It is called GPX.py.
GPX.py is hosted on GitHub. Do try it, ask questions and/or help this small project if you are a python programmer ;)