The fit package


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.


Versions0.5, 0.5, 0.5.1, 0.5.2
Dependenciesattoparsec (>=0.10.3), base (==4.7.*), bytestring, containers (>=0.5), contravariant, mtl (>=1.1), text [details]
Copyright2014-2015 Matt Giles
AuthorMatt Giles
CategoryData, Parsing, Fitness
Bug tracker
Source repositoryhead: git clone
UploadedThu Jan 8 05:24:04 UTC 2015 by mgiles




Maintainers' corner

For package maintainers and hackage trustees