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

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pytcx-0.1.0-py2.py3-none-any.whl (4.0 kB) Copy SHA256 hash SHA256 Wheel py2.py3
pytcx-0.1.0.tar.gz (5.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page