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
Built Distribution
File details
Details for the file fit2parquets-0.3.0.tar.gz
.
File metadata
- Download URL: fit2parquets-0.3.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Darwin/24.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 783133868de3ea4401422869decb13c184c944575f136d2c510d32535d8f351c |
|
MD5 | 7308beb5bcd80e27cef6308a715606ea |
|
BLAKE2b-256 | 07537406c3d1578f38067c309467397064fe0ce8845f5cf15d128d4fabcd8930 |
File details
Details for the file fit2parquets-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: fit2parquets-0.3.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Darwin/24.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1e22ac0bd45edd973ef5641b175e9955fc48b40859a94469f89cac85e43e2e0 |
|
MD5 | 5ec75153a23117262a6505c930fb8467 |
|
BLAKE2b-256 | c7dffb375c6ff44b0f622efbd02825b4d43ecfaec0326235982f59181c1e95b0 |