Skip to main content

GPX parsing for Python

Project description


.. image::

.. image::

TCX parsing for Python


.. code-block:: python

with open('some.tcx') as h:
text =
activities = pytcx.parse_to_activities(text)
for activity in activities:


* Reads TCX files for runs synced via tapiriik
* Reads the following point data:
** latitude
** longitude
** altitude
** time
** heart_rate
** cadence

Future Work

* Support cycling (need sample tcx)
* Support swimming (need sample tcx)


The full documentation is at


0.1.0 (2018-01-01)

* First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pytcx, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pytcx-0.1.0-py2.py3-none-any.whl (4.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pytcx-0.1.0.tar.gz (5.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page