fit-parse-core
Domain-neutral Garmin .FIT extraction and session assembly.
Deliberately thin. This package pulls messages out of a .FIT file and groups
multi-file recordings into sessions. It knows nothing about any particular
sport — swimming, freediving, hiking and skiing formulas belong in the domain
packages that consume this one.
That boundary is load-bearing. If domain knowledge leaks in, adding an activity means editing the core, and this package deliberately carries no contract version axis to be stamped against.
Install
pip install fit-parse-core
Use
from fit_parse_core import read_fit, group_sessions
data = read_fit("ACTIVITY.fit", ("session", "lap", "record"))
read_fit takes the message names to extract, because which messages matter is
a domain question. scaled() divides Garmin's integer-scaled extension fields
and returns None for absent values so callers can honour the
unmeasured-null convention rather than coercing absence to zero.
Consumers
swim-fit-parse— lap swimmingdive-fit-parse— freediving
MIT. Author ssim-baa.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fit_parse_core-0.1.0.tar.gz.
File metadata
- Download URL: fit_parse_core-0.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5f98d4de3d98dddbd88fdefec7f7043edfaae25c32fc20f56a16e15b7911b5d
|
|
| MD5 |
616cd7beca804c29c3b60936fe6f0e34
|
|
| BLAKE2b-256 |
6d81b97b69ab996bc12180c574c17db3d6c6a638c7feb0d41186f5e9a2af1dd3
|
File details
Details for the file fit_parse_core-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fit_parse_core-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f82c681c3711343cc07c7a57717faa24d07c15b8be1f96d9e7a8f5e1190887a5
|
|
| MD5 |
30ad3ba9621deb86cb3870a86de4c049
|
|
| BLAKE2b-256 |
03836a4885c94af401a9ce86920a6e31dc089ac9a2c5828ac980be7fdfb64f99
|