fit2parquets
Convert Garmin .fit files to .parquet files using Garmin's FIT SDK and polars.
Installation
poetry add fit2parquets
Available on PyPI here.
Usage
from fit2parquets.parser import Parser
Parser().fit2parquets("Afternoon_Run.fit")
If you want to save the parsed .parquet files in a different location (e.g. some_other_folder), simply run:
Parser().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.
Metadata
Release files for fit2parquets 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fit2parquets-0.8.0.tar.gz | 5.6 kB | Without provenance | Details for fit2parquets-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fit2parquets-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for fit2parquets-0.8.0-py3-none-any.whl |
Total release size: 12.4 kB
Release files / fit2parquets-0.8.0.tar.gz
| Download URL | fit2parquets-0.8.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7df0ffc5cc06e1e37a4cb1459cbe51a959323bc0fe555b1ce4523de0176e2b18
|
|
BLAKE2b-256 checksum How to use checksums |
186231dbba2bcae32bcf98780933da78754b629edb21e034a8d12fa2d444290b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.11.10 Darwin/24.3.0
|
Release files / fit2parquets-0.8.0-py3-none-any.whl
| Download URL | fit2parquets-0.8.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
581dd194819eded319d8ad820f8a0fba27808361e0a47468dc6a06b1d2d402c8
|
|
BLAKE2b-256 checksum How to use checksums |
af166d32a2b15519eef21100d87b48b712959454ad5abf449b13aee764a350cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.11.10 Darwin/24.3.0
|
Security for fit2parquets 0.8.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.