python-fitparse 2.3.0__tar.gz → 2.3.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-fitparse
3
- Version: 2.3.0
3
+ Version: 2.3.1
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.205 ON 2026-06-02 ***********
4
- # ********* PARSED 201 TYPES (4399 VALUES), 124 MESSAGES (1412 FIELDS) *********
3
+ # *********** EXPORTED PROFILE FROM SDK VERSION 21.212 ON 2026-08-05 ***********
4
+ # ********* PARSED 201 TYPES (4403 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
  ),
@@ -2214,6 +2215,7 @@ FIELD_TYPES = {
2214
2215
  4586: 'instinct3_amoled_45mm',
2215
2216
  4587: 'instinct3_amoled_50mm',
2216
2217
  4588: 'descent_g2',
2218
+ 4595: 'fenix7_pro_solar_no_wifi',
2217
2219
  4603: 'venu_x1',
2218
2220
  4606: 'hrm_200',
2219
2221
  4625: 'vivoactive6',
@@ -2237,6 +2239,7 @@ FIELD_TYPES = {
2237
2239
  4879: 'd2_mach2',
2238
2240
  4916: 'fr70_2026',
2239
2241
  4944: 'd2_air_x15',
2242
+ 5019: 'cirqa_smart_band',
2240
2243
  5056: 'd2_mach2_pro',
2241
2244
  10007: 'sdm4', # SDM4 footpod
2242
2245
  10014: 'edge_remote',
@@ -3137,6 +3140,7 @@ FIELD_TYPES = {
3137
3140
  348: 'huawei',
3138
3141
  349: 'gotoes',
3139
3142
  350: 'cadence_app',
3143
+ 351: 'una_watch',
3140
3144
  5759: 'actigraphcorp',
3141
3145
  },
3142
3146
  ),
@@ -4832,7 +4836,7 @@ FIELD_TYPES = {
4832
4836
  79: 'duathlon', # Multisport
4833
4837
  80: 'brick', # Multisport
4834
4838
  81: 'swim_run', # Multisport
4835
- 82: 'adventure_race', # Multisport
4839
+ 82: 'adventure_race', # Multisport/Running
4836
4840
  83: 'trucker_workout', # DEZL trucker workout training sport
4837
4841
  84: 'pickleball', # Racket
4838
4842
  85: 'padel', # Racket
@@ -5877,6 +5881,46 @@ MESSAGE_TYPES = {
5877
5881
  def_num=10,
5878
5882
  units='cycles',
5879
5883
  subfields=(
5884
+ SubField( # total number of pushes in a session
5885
+ name='total_pushes',
5886
+ def_num=10,
5887
+ type=BASE_TYPES[0x86], # uint32
5888
+ units='pushes',
5889
+ ref_fields=(
5890
+ ReferenceField(
5891
+ name='sport',
5892
+ def_num=5,
5893
+ value='wheelchair_push_run',
5894
+ raw_value=66,
5895
+ ),
5896
+ ReferenceField(
5897
+ name='sport',
5898
+ def_num=5,
5899
+ value='wheelchair_push_walk',
5900
+ raw_value=65,
5901
+ ),
5902
+ ),
5903
+ ),
5904
+ SubField(
5905
+ name='total_reps',
5906
+ def_num=10,
5907
+ type=BASE_TYPES[0x86], # uint32
5908
+ units='reps',
5909
+ ref_fields=(
5910
+ ReferenceField(
5911
+ name='sub_sport',
5912
+ def_num=6,
5913
+ value='strength_training',
5914
+ raw_value=20,
5915
+ ),
5916
+ ReferenceField(
5917
+ name='sport',
5918
+ def_num=5,
5919
+ value='hiit',
5920
+ raw_value=62,
5921
+ ),
5922
+ ),
5923
+ ),
5880
5924
  SubField(
5881
5925
  name='total_strides',
5882
5926
  def_num=10,
@@ -11631,6 +11675,11 @@ MESSAGE_TYPES = {
11631
11675
  def_num=34,
11632
11676
  units='minutes',
11633
11677
  ),
11678
+ 41: Field( # Wheelchair Pushes
11679
+ name='pushes',
11680
+ type=BASE_TYPES[0x86], # uint32
11681
+ def_num=41,
11682
+ ),
11634
11683
  253: FIELD_TYPE_TIMESTAMP, # Must align to logging interval, for example, time must be 00:00:00 for daily log.
11635
11684
  },
11636
11685
  ),
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "python-fitparse"
7
- version = "2.3.0"
7
+ version = "2.3.1"
8
8
  description = "Python library to parse ANT/Garmin .FIT files"
9
9
  authors = [
10
10
  {name = "David Cooper", email = "dave@kupesoft.com"},
File without changes