The fit package

[ Tags: bsd3, data, fitness, library, parsing ] [ Propose Tags ]

The FIT protocol is used by many sport and fitness devices made by companies like Garmin, for example running watches and bike computers. fit provides an API for parsing these files for analysis or conversion.

Currently this package is a pretty low-level effort, and you'll need to be familiar with FIT to get much value from it. Specifically, the notion of the FIT "profile" is ignored entirely, so to make use of the decoded file you'll need to reference the "Profile.xls" spreadsheet in the FIT SDK.

The Fit module exports a convenient set of data types for examining FIT files, as well as some lenses for extracting specific data. It's intended that the API in the Fit module should be sufficient and convenient for most uses, but if you need access to the exact structure of the file you can use the data types in Fit.Internal.FitFile and parsers in Fit.Internal.Parse.

Feel free to contact me if you have any questions, suggestions, or requests.


Versions 0.5, 0.5.1, 0.5.2
Dependencies attoparsec (>=0.10.3), base (==4.7.*), bytestring, containers (>=0.5), contravariant, mtl (>=1.1), text [details]
License BSD3
Copyright 2014-2015 Matt Giles
Author Matt Giles
Category Data, Parsing, Fitness
Bug tracker
Source repository head: git clone
Uploaded Thu Jan 8 05:25:02 UTC 2015 by mgiles
Updated Thu Jan 8 05:30:31 UTC 2015 by mgiles to revision 1
Distributions NixOS:0.5.2
Downloads 532 total (14 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees