This script simplifies the process of downloading activities from Strava and uploading them to TrainingPeaks in assisted mode.
The idea for this script came from the need to synchronize my triathlon training data from my Samsung Watch to TrainingPeaks, a platform not directly compatible with my watch. The script streamlines this process by leveraging Strava as an intermediary.
Watch the video guide on exporting from Strava to TrainingPeaks manually
.tcx
file or select from the local directory;
/export_original
or /export_tcx
endpoints;.tcx
file is formatted; if it is running or biking, the .tcx
file is validated;.tcx
file.git clone https://github.com/Lucs1590/strava-to-trainingpeaks
cd strava-to-trainingpeaks
pip install -r requirements.txt
python src/main.py
Follow the on-screen instructions after running the script. You'll be prompted to choose the sport, select activity download options, and provide the file path if necessary.
This project is licensed under the MIT License - see the LICENSE file for details.
git checkout -b my-feature
).git commit -m 'feat: My new feature'
).git push origin my-feature
).