Skip to main content

No project description provided

Project description

fit2parquets

Convert Garmin .fit files to .parquet files using Garmin's FIT SDK.

Installation

poetry add fit2parquets

Available on PyPI here.

Usage

from fit2parquets import fit2parquets
fit2parquets("Afternoon_Run.fit")

If you want to save the parsed .parquet files in a different location (e.g. some_other_folder), simply run:

fit2parquets(
    "Afternoon_Run.fit",
    write_to_folder_in_which_fit_file_lives=False,
    alternate_folder_path="some_other_folder",
)

This is also as available as a script from the command line directly

fit2parquets Afternoon_Run.fit --output_format=csv

You can read the resulting data via e.g.:

import polars as pl
df = pl.read_parquet("Afternoon_Run/record_mesgs.parquet")

Credits

Garmin's FIT SDK is licensed under the Flexible and Interoperable Data Transfer (FIT) Protocol.

The Python implementation of that SDK is found here: https://github.com/garmin/fit-python-sdk.

This package was created with cookiecutter and thomascamminady/cookiecutter-pypackage, a fork of audreyr/cookiecutter-pypackage.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fit2parquets-0.7.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

fit2parquets-0.7.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file fit2parquets-0.7.0.tar.gz.

File metadata

  • Download URL: fit2parquets-0.7.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.10 Darwin/24.1.0

File hashes

Hashes for fit2parquets-0.7.0.tar.gz
Algorithm Hash digest
SHA256 158870ebc6a01a7fb2766a06c322dcfc6c84dac3c2104d0b744ac47969ce9f4b
MD5 c5497c6f52ccbc832818251ca4c1889c
BLAKE2b-256 8a05269acde6865a0373f22d81414cc218ad12bd05a3d29e74a45c06eafea757

See more details on using hashes here.

File details

Details for the file fit2parquets-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: fit2parquets-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.10 Darwin/24.1.0

File hashes

Hashes for fit2parquets-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60cbeaa859b32c17e8733e42150fe7f23ee45198a87c6f5c123ba538b7b6fb6f
MD5 aa02df3c31cc97a1687b8c6a0c114c7c
BLAKE2b-256 96f3536c108d97ec62fa97a5bc3a8a4dd53f588163458a525ba776e7a9b8d690

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page