Sweatpy is currently undergoing major revisions which will result in deprecations and backwards incompatible changes. We recommend pinning your sweatpy dependency in your requirements.txt file (e.g.
Noticed a missing feature, found a bug or just have a great idea for
sweatpy? Get in touch with us by creating an issue here!
Sweatpy is a Python library that is designed to make workout analysis a breeze. The current state of the project is "very beta": features might be added, removed or changed in backwards incompatible ways. When the time is right a stable version will be released. Get in touch with the contributors or create an issue if you have problems/questions/feature requests/special use cases.
This library can be installed from PyPI:
pip install sweat
Sweatpy supports loading .fit, .tcx and .gpx files. To load a .fit file:
import sweat data = sweat.read_fit("path/to/file.fit")
More information about loading files can be found here.
The data frames that are returned by Sweatpy when loading files is similar for different file types. Read more about this standardization here.
See LICENSE file.