Skip to main content

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


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.0.1.tar.gz (70.3 kB view hashes)

Uploaded Source

Built Distribution

fittie-0.0.1-py3-none-any.whl (77.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page