Skip to content

Speed-optimized data extractor for .tcx (Garmin) files.

License

Notifications You must be signed in to change notification settings

alhankeser/tcx-extract

Repository files navigation

TCX Extractor

A speed-optimized data extractor for .tcx (Garmin) files.

Table of Contents

Installation

Can be installed using:

pip install tcx-extract

Then run this once to build the Zig executable:

import tcx_extract as tcx
tcx.build_zig()

Usage

import tcx_extract as tcx
watts = tcx.extract(filepath="example.tcx", tag_name="ns3:Watts")
print(watts)

# Output:
# ['402', '380', '304'...]
  • By default, an item for every <TrackPoint> will be included in the resulting Python list.
  • filepath path to the .tcx file to extract from.
  • tag_name tag to get value from.
    • Nested or multiple tags are not currently supported.

Support

Please create an issue if you're having an issue or have questions.

About

Speed-optimized data extractor for .tcx (Garmin) files.

Topics

Resources

License

Stars

Watchers

Forks