python-fitparse 2.3.0__tar.gz → 2.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_fitparse-2.3.0 → python_fitparse-2.3.2}/PKG-INFO +2 -2
- {python_fitparse-2.3.0 → python_fitparse-2.3.2}/fitparse/profile.py +55 -3
- {python_fitparse-2.3.0 → python_fitparse-2.3.2}/pyproject.toml +1 -1
- {python_fitparse-2.3.0 → python_fitparse-2.3.2}/.gitignore +0 -0
- {python_fitparse-2.3.0 → python_fitparse-2.3.2}/LICENSE +0 -0
- {python_fitparse-2.3.0 → python_fitparse-2.3.2}/README.md +0 -0
- {python_fitparse-2.3.0 → python_fitparse-2.3.2}/fitparse/__init__.py +0 -0
- {python_fitparse-2.3.0 → python_fitparse-2.3.2}/fitparse/base.py +0 -0
- {python_fitparse-2.3.0 → python_fitparse-2.3.2}/fitparse/processors.py +0 -0
- {python_fitparse-2.3.0 → python_fitparse-2.3.2}/fitparse/records.py +0 -0
- {python_fitparse-2.3.0 → python_fitparse-2.3.2}/fitparse/utils.py +0 -0
- {python_fitparse-2.3.0 → python_fitparse-2.3.2}/patches/message_types/location.py +0 -0
- {python_fitparse-2.3.0 → python_fitparse-2.3.2}/patches/message_types/stress_level.py +0 -0
- {python_fitparse-2.3.0 → python_fitparse-2.3.2}/scripts/fitdump +0 -0
- {python_fitparse-2.3.0 → python_fitparse-2.3.2}/scripts/generate_profile.py +0 -0
- {python_fitparse-2.3.0 → python_fitparse-2.3.2}/scripts/unit_tool.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: python-fitparse
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.2
|
|
4
4
|
Summary: Python library to parse ANT/Garmin .FIT files
|
|
5
5
|
Project-URL: Homepage, https://github.com/nbr23/python-fitparse
|
|
6
6
|
Project-URL: Repository, https://github.com/nbr23/python-fitparse
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# ***************** BEGIN AUTOMATICALLY GENERATED FIT PROFILE ******************
|
|
2
2
|
# *************************** DO NOT EDIT THIS FILE ****************************
|
|
3
|
-
# *********** EXPORTED PROFILE FROM SDK VERSION 21.
|
|
4
|
-
# ********* PARSED 201 TYPES (
|
|
3
|
+
# *********** EXPORTED PROFILE FROM SDK VERSION 21.213 ON 2026-08-12 ***********
|
|
4
|
+
# ********* PARSED 201 TYPES (4406 VALUES), 124 MESSAGES (1413 FIELDS) *********
|
|
5
5
|
# ***************************** APPLIED 2 PATCHES ******************************
|
|
6
6
|
|
|
7
7
|
from fitparse.records import (
|
|
@@ -83,6 +83,7 @@ FIELD_TYPES = {
|
|
|
83
83
|
5: 'swimming',
|
|
84
84
|
6: 'walking',
|
|
85
85
|
8: 'sedentary',
|
|
86
|
+
13: 'wheelchair_pushing',
|
|
86
87
|
254: 'all', # All is for goals only to include all sports.
|
|
87
88
|
},
|
|
88
89
|
),
|
|
@@ -2207,6 +2208,9 @@ FIELD_TYPES = {
|
|
|
2207
2208
|
4534: 'fenix8_small',
|
|
2208
2209
|
4536: 'fenix8',
|
|
2209
2210
|
4556: 'd2_mach1_pro',
|
|
2211
|
+
4565: 'fr970',
|
|
2212
|
+
4570: 'fr570_large',
|
|
2213
|
+
4574: 'fr570_small',
|
|
2210
2214
|
4575: 'enduro3',
|
|
2211
2215
|
4583: 'instinctE_40mm',
|
|
2212
2216
|
4584: 'instinctE_45mm',
|
|
@@ -2214,6 +2218,7 @@ FIELD_TYPES = {
|
|
|
2214
2218
|
4586: 'instinct3_amoled_45mm',
|
|
2215
2219
|
4587: 'instinct3_amoled_50mm',
|
|
2216
2220
|
4588: 'descent_g2',
|
|
2221
|
+
4595: 'fenix7_pro_solar_no_wifi',
|
|
2217
2222
|
4603: 'venu_x1',
|
|
2218
2223
|
4606: 'hrm_200',
|
|
2219
2224
|
4625: 'vivoactive6',
|
|
@@ -2237,6 +2242,7 @@ FIELD_TYPES = {
|
|
|
2237
2242
|
4879: 'd2_mach2',
|
|
2238
2243
|
4916: 'fr70_2026',
|
|
2239
2244
|
4944: 'd2_air_x15',
|
|
2245
|
+
5019: 'cirqa_smart_band',
|
|
2240
2246
|
5056: 'd2_mach2_pro',
|
|
2241
2247
|
10007: 'sdm4', # SDM4 footpod
|
|
2242
2248
|
10014: 'edge_remote',
|
|
@@ -3137,6 +3143,7 @@ FIELD_TYPES = {
|
|
|
3137
3143
|
348: 'huawei',
|
|
3138
3144
|
349: 'gotoes',
|
|
3139
3145
|
350: 'cadence_app',
|
|
3146
|
+
351: 'una_watch',
|
|
3140
3147
|
5759: 'actigraphcorp',
|
|
3141
3148
|
},
|
|
3142
3149
|
),
|
|
@@ -4832,7 +4839,7 @@ FIELD_TYPES = {
|
|
|
4832
4839
|
79: 'duathlon', # Multisport
|
|
4833
4840
|
80: 'brick', # Multisport
|
|
4834
4841
|
81: 'swim_run', # Multisport
|
|
4835
|
-
82: 'adventure_race', # Multisport
|
|
4842
|
+
82: 'adventure_race', # Multisport/Running
|
|
4836
4843
|
83: 'trucker_workout', # DEZL trucker workout training sport
|
|
4837
4844
|
84: 'pickleball', # Racket
|
|
4838
4845
|
85: 'padel', # Racket
|
|
@@ -5877,6 +5884,46 @@ MESSAGE_TYPES = {
|
|
|
5877
5884
|
def_num=10,
|
|
5878
5885
|
units='cycles',
|
|
5879
5886
|
subfields=(
|
|
5887
|
+
SubField( # total number of pushes in a session
|
|
5888
|
+
name='total_pushes',
|
|
5889
|
+
def_num=10,
|
|
5890
|
+
type=BASE_TYPES[0x86], # uint32
|
|
5891
|
+
units='pushes',
|
|
5892
|
+
ref_fields=(
|
|
5893
|
+
ReferenceField(
|
|
5894
|
+
name='sport',
|
|
5895
|
+
def_num=5,
|
|
5896
|
+
value='wheelchair_push_run',
|
|
5897
|
+
raw_value=66,
|
|
5898
|
+
),
|
|
5899
|
+
ReferenceField(
|
|
5900
|
+
name='sport',
|
|
5901
|
+
def_num=5,
|
|
5902
|
+
value='wheelchair_push_walk',
|
|
5903
|
+
raw_value=65,
|
|
5904
|
+
),
|
|
5905
|
+
),
|
|
5906
|
+
),
|
|
5907
|
+
SubField(
|
|
5908
|
+
name='total_reps',
|
|
5909
|
+
def_num=10,
|
|
5910
|
+
type=BASE_TYPES[0x86], # uint32
|
|
5911
|
+
units='reps',
|
|
5912
|
+
ref_fields=(
|
|
5913
|
+
ReferenceField(
|
|
5914
|
+
name='sub_sport',
|
|
5915
|
+
def_num=6,
|
|
5916
|
+
value='strength_training',
|
|
5917
|
+
raw_value=20,
|
|
5918
|
+
),
|
|
5919
|
+
ReferenceField(
|
|
5920
|
+
name='sport',
|
|
5921
|
+
def_num=5,
|
|
5922
|
+
value='hiit',
|
|
5923
|
+
raw_value=62,
|
|
5924
|
+
),
|
|
5925
|
+
),
|
|
5926
|
+
),
|
|
5880
5927
|
SubField(
|
|
5881
5928
|
name='total_strides',
|
|
5882
5929
|
def_num=10,
|
|
@@ -11631,6 +11678,11 @@ MESSAGE_TYPES = {
|
|
|
11631
11678
|
def_num=34,
|
|
11632
11679
|
units='minutes',
|
|
11633
11680
|
),
|
|
11681
|
+
41: Field( # Wheelchair Pushes
|
|
11682
|
+
name='pushes',
|
|
11683
|
+
type=BASE_TYPES[0x86], # uint32
|
|
11684
|
+
def_num=41,
|
|
11685
|
+
),
|
|
11634
11686
|
253: FIELD_TYPE_TIMESTAMP, # Must align to logging interval, for example, time must be 00:00:00 for daily log.
|
|
11635
11687
|
},
|
|
11636
11688
|
),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|