pyworkout.parsers package

Submodules

pyworkout.parsers.base module

pyworkout.parsers.tcxtools module

Tools to process TCX files, specifically for parsing and converting to other formats.

class pyworkout.parsers.tcxtools.TCXPandas(tcx_file, **kwds)

Bases: object

Class for Parsing .TCX files to Pandas DataFrames.

tcx_file : string, path object,
the path to the tcx file
get_activity_timestamp()

Returns the TCX file timestamp if parsed

get_sport()

Returns the specified sport of the TCX file

get_workout_startime()

Returns the starting timestamp of the specified TCX file

parse()

Parse specified TCX file into a DataFrame Return a Dataframe and sets Dataframe and sets the self.dataframe object in the TCXParser.

Module contents