Skip to main content

GPX parsing for Python

Project description

=============================
pytcx
=============================

.. image:: https://badge.fury.io/py/pytcx.png
:target: http://badge.fury.io/py/pytcx

.. image:: https://travis-ci.org/heoga/pytcx.png?branch=master
:target: https://travis-ci.org/heoga/pytcx

TCX parsing for Python

Usage
-----

.. code-block:: python

with open('some.tcx') as h:
text = h.read()
activities = pytcx.parse_to_activities(text)
for activity in activities:
print(activity.start(), activity.name)


Features
--------

* 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)





Documentation
-------------

The full documentation is at http://pytcx.rtfd.org.



History
-------

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.

Source Distribution

pytcx-0.1.0.tar.gz (5.7 kB view hashes)

Uploaded source

Built Distribution

pytcx-0.1.0-py2.py3-none-any.whl (4.0 kB view hashes)

Uploaded py2 py3

Supported by

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