https://github.com/mherb/workout-converter
Tool to convert between structured cycling workout file formats (Zwift, Wahoo, ..)
https://github.com/mherb/workout-converter
wahoo workout zwift
Last synced: 3 months ago
JSON representation
Tool to convert between structured cycling workout file formats (Zwift, Wahoo, ..)
- Host: GitHub
- URL: https://github.com/mherb/workout-converter
- Owner: mherb
- License: mit
- Created: 2021-11-14T16:18:33.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-31T19:58:01.000Z (almost 3 years ago)
- Last Synced: 2025-04-04T00:17:13.706Z (7 months ago)
- Topics: wahoo, workout, zwift
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Workout Converter
This is a tiny command line tool to convert between different file formats for structured workouts (mostly cycling-based for usage on smart-trainers).
## Usage
Please clean the repo to get the source code
git clone https://github.com/mherb/workout-converter.git && cd workout-converter
You can convert a workout file that you have created or downloaded using
python3 workout-converter.py -f
which will be saved with the same name (but different extension) in the same path as the input file.
Please have a look at the command line help (`-h`) for additional options.
You can query the list of available output formats:
python3 workout-converter.py -F
## File Formats
At the moment, the following file formats are supported for reading/writing
| Format | Read | Write | Comment |
|---------------|--------------------|--------------------|----------------------------|
| Wahoo (.plan) | :x: | :white_check_mark: | for Wahoo ELEMNT headunits |
| Zwift (.zwo) | :white_check_mark: | :x: | |
Additional support can be easily added by implmenting a corresponding [parser](workout_converter/parsers)
## References
Below are some helpful resources and related projects about various workout file formats
- [Intyre/wahoo_elemnt](https://gist.github.com/Intyre/2c0a8e337671ed6f523950ef08e3ca3f)
- [h4l/zwift-workout-file-reference](https://github.com/h4l/zwift-workout-file-reference)
- [ManuelWiese/mrc_tools](https://github.com/ManuelWiese/mrc_tools)
- [mhanney/zwoparse](https://github.com/mhanney/zwoparse)