A speed-optimized data extractor for .tcx (Garmin) files.
Can be installed using:
pip install tcx-extractThen run this once to build the Zig executable:
import tcx_extract as tcx
tcx.build_zig()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. filepathpath to the .tcx file to extract from.tag_nametag to get value from.- Nested or multiple tags are not currently supported.
Please create an issue if you're having an issue or have questions.