Registry / analytics / fitparse

fitparse

JSON →
library1.2.0pypypi✓ verified 34d ago

Python library to parse ANT/Garmin .FIT files. Current version 1.2.0 provides a high-level interface to read FIT files, including data messages, definitions, and developer fields. Release cadence is low, with no recent updates.

analytics
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

from fitparse import FitFile
from fitparse import Record
from fitparse import FitParseError

Open a FIT file, iterate over 'record' messages, and print field names and values.

from fitparse import FitFile fitfile = FitFile('activity.fit') for record in fitfile.get_messages('record'): for data in record: print(f"{data.name}: {data.value}")
Debug
Known footguns
gotchaThe library does not support writing or creating .FIT files. It is read-only.
deprecatedPython 2 support was dropped in version 1.0.0. Use Python 3.6+.
gotchaFIT files often use semicircles for latitude/longitude. The library returns raw values; you must convert manually.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
19 hits · last 30 days
gptbot
3
amazonbot
3
bytedance
2
ahrefsbot
1
Resources