Skip to main content

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 swimming
  • dive-fit-parse — freediving

MIT. Author ssim-baa.

Metadata

Release files for fit-parse-core 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fit-parse-core 0.1.0
File Size Uploaded Provenance Actions
fit_parse_core-0.1.0.tar.gz 2.4 kB Without provenance Details for fit_parse_core-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fit-parse-core 0.1.0
File Interpreter ABI Platform Actions
fit_parse_core-0.1.0-py3-none-any.whl Python 3 none any Details for fit_parse_core-0.1.0-py3-none-any.whl

Total release size: 5.5 kB

Release files / fit_parse_core-0.1.0.tar.gz

Download URL fit_parse_core-0.1.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b5f98d4de3d98dddbd88fdefec7f7043edfaae25c32fc20f56a16e15b7911b5d
BLAKE2b-256 checksum
How to use checksums
6d81b97b69ab996bc12180c574c17db3d6c6a638c7feb0d41186f5e9a2af1dd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release files / fit_parse_core-0.1.0-py3-none-any.whl

Download URL fit_parse_core-0.1.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f82c681c3711343cc07c7a57717faa24d07c15b8be1f96d9e7a8f5e1190887a5
BLAKE2b-256 checksum
How to use checksums
03836a4885c94af401a9ce86920a6e31dc089ac9a2c5828ac980be7fdfb64f99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Security for fit-parse-core 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page