FIT file tool
Project description
fittie
Parse Garmin .FIT files
Usage
from fittie.fitfile import decode
if __name__ == "__main__":
with open("path/to/fit/file.fit", "rb") as data:
fitfile = decode(data)
# Example: get average heart rate
print(fitfile.average_heart_rate)
Debug
To print debug log messages, run your script with LOGLEVEL=DEBUG
env variable.
TODO:
- Get values by native number instead of name
- crc check
- handle components, accumulators etc
- handle chained FIT
- compressed timestamps
- move record_header into record, instead of reading it separately
- encoding
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fittie-0.1.1.tar.gz
(71.4 kB
view hashes)
Built Distribution
fittie-0.1.1-py3-none-any.whl
(78.1 kB
view hashes)