Skip to main content

chiptime

Recovery-grade FIT file processing. Parse anything, lose nothing silently, explain everything. Zero runtime dependencies.

Every other open-source FIT parser stops at the first bad byte. chiptime resynchronizes mid-file, salvages truncated files, rebuilds missing session summaries, and can write the result back out as a valid, uploadable .fit — with a machine-readable provenance trail for every repair.

import chiptime

result = chiptime.parse("broken.fit")  # lenient: recover + annotate
result.recovery  # what was salvaged
result.activity.sessions[0].records.stream("power")  # 0 is real, None is absent
result.to_canonical_json()  # RFC 8785 — byte-identical every run

fixed = chiptime.repair("broken.fit")  # → a valid .fit
chiptime parse ride.fit --json      # agent exit codes: 0/2/3/4/64
chiptime repair broken.fit -o fixed.fit
chiptime validate fixed.fit --platform garmin-connect
chiptime inspect weird.fit          # wire-level forensics
  • Three modes: strict / lenient / forensic (forensic never drops data)
  • Sentinels → null before any statistics; zero ≠ null, always
  • Deterministic canonical JSON; errors carry stable codes + suggested next steps
  • Conformance corpus: 104-item edge-case taxonomy, golden-file tested
  • Optional extras: chiptime[pandas] for DataFrames; chiptime.metrics for mean-max curves, zone time, SWOLF

Docs, taxonomy, corpus and research: https://github.com/MaxGrgrv/chiptime

chiptime is an independent project, not affiliated with or endorsed by Garmin. FIT and Garmin are trademarks of Garmin Ltd. This package ships no Garmin SDK files.

Metadata

Release files for chiptime 0.4.2

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

Source distribution (sdist)

Source distribution for chiptime 0.4.2
File Size Uploaded
chiptime-0.4.2.tar.gz 243.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chiptime 0.4.2
File Interpreter ABI Platform
chiptime-0.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 382.1 kB

Release files / chiptime-0.4.2.tar.gz

Download URL chiptime-0.4.2.tar.gz
Size 243.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e3ba2b84b5fb04e4550f5004a073ee6d49b6ceedbd65c5dacf8c5df9244d4fb8
BLAKE2b-256 checksum
How to use checksums
34e9d2c9b441db288ad8ae7d6bbabe79f4f2025394505ca811ed54ee8c881eab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release files / chiptime-0.4.2-py3-none-any.whl

Download URL chiptime-0.4.2-py3-none-any.whl
Size 138.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb39a15f1833fe343939c04bd9f6ab03eda1493e1f932d075e7d4c974442f35c
BLAKE2b-256 checksum
How to use checksums
4b3ff9076481fb053907758ce2d1e003a2066d2881fdbf3d958358c6e4f03b42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release history Release notifications | RSS feed

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

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