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",
)

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.2.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

fit2parquets-0.2.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fit2parquets-0.2.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.8 Darwin/23.5.0

File hashes

Hashes for fit2parquets-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ac06ce083095bd3c86bcd8b7e49048797f59294171da085cf45c447a9d086924
MD5 6f38cc31a922b77a07a501a30892f642
BLAKE2b-256 7cff06dcda1ca9efb8165e6cee2472be9a685365841ac776c281f83697261417

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fit2parquets-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.8 Darwin/23.5.0

File hashes

Hashes for fit2parquets-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe516d957c906cece77a3ee031458bb92a94eda54f7af1ea9b18d5ff6393afec
MD5 55026204ece0a8b307719e5d0ba61146
BLAKE2b-256 2e6719550b667118a1fc6ecfa3af19f18021ae09b80f2284f80b614277a9a921

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