python-fitparse 2.1.3__py3-none-any.whl → 2.1.5__py3-none-any.whl

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.
fitparse/profile.py CHANGED
@@ -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.195 ON 2026-02-27 ***********
4
- # ********* PARSED 199 TYPES (4332 VALUES), 123 MESSAGES (1397 FIELDS) *********
3
+ # *********** EXPORTED PROFILE FROM SDK VERSION 21.201 ON 2026-04-22 ***********
4
+ # ********* PARSED 201 TYPES (4395 VALUES), 124 MESSAGES (1407 FIELDS) *********
5
5
 
6
6
  from fitparse.records import (
7
7
  ComponentField,
@@ -3127,6 +3127,11 @@ FIELD_TYPES = {
3127
3127
  341: 'carv',
3128
3128
  342: 'tissot',
3129
3129
  345: 'real_velo',
3130
+ 346: 'wetech',
3131
+ 347: 'jespr',
3132
+ 348: 'huawei',
3133
+ 349: 'gotoes',
3134
+ 350: 'cadence_app',
3130
3135
  5759: 'actigraphcorp',
3131
3136
  },
3132
3137
  ),
@@ -3289,6 +3294,7 @@ FIELD_TYPES = {
3289
3294
  393: 'dive_apnea_alarm',
3290
3295
  398: 'skin_temp_overnight',
3291
3296
  409: 'hsa_wrist_temperature_data', # Message number for the HSA wrist temperature data message
3297
+ 412: 'nap_event',
3292
3298
  470: 'sleep_disruption_severity_period',
3293
3299
  471: 'sleep_disruption_overnight_severity',
3294
3300
  },
@@ -3393,6 +3399,39 @@ FIELD_TYPES = {
3393
3399
  84: 'toe_touch',
3394
3400
  },
3395
3401
  ),
3402
+ 'nap_period_feedback': FieldType(
3403
+ name='nap_period_feedback',
3404
+ base_type=BASE_TYPES[0x00], # enum
3405
+ values={
3406
+ 0: 'none',
3407
+ 1: 'multiple_naps_during_day',
3408
+ 2: 'jetlag_ideal_timing_ideal_duration',
3409
+ 3: 'jetlag_ideal_timing_long_duration',
3410
+ 4: 'jetlag_late_timing_ideal_duration',
3411
+ 5: 'jetlag_late_timing_long_duration',
3412
+ 6: 'ideal_timing_ideal_duration_low_need',
3413
+ 7: 'ideal_timing_ideal_duration_high_need',
3414
+ 8: 'ideal_timing_long_duration_low_need',
3415
+ 9: 'ideal_timing_long_duration_high_need',
3416
+ 10: 'late_timing_ideal_duration_low_need',
3417
+ 11: 'late_timing_ideal_duration_high_need',
3418
+ 12: 'late_timing_long_duration_low_need',
3419
+ 13: 'late_timing_long_duration_high_need',
3420
+ 14: 'ideal_duration_low_need',
3421
+ 15: 'ideal_duration_high_need',
3422
+ 16: 'long_duration_low_need',
3423
+ 17: 'long_duration_high_need',
3424
+ },
3425
+ ),
3426
+ 'nap_source': FieldType(
3427
+ name='nap_source',
3428
+ base_type=BASE_TYPES[0x00], # enum
3429
+ values={
3430
+ 0: 'automatic',
3431
+ 1: 'manual_device',
3432
+ 2: 'manual_gc',
3433
+ },
3434
+ ),
3396
3435
  'no_fly_time_mode': FieldType(
3397
3436
  name='no_fly_time_mode',
3398
3437
  base_type=BASE_TYPES[0x00], # enum
@@ -4441,12 +4480,18 @@ FIELD_TYPES = {
4441
4480
  48: 'floor_climbing',
4442
4481
  49: 'baseball',
4443
4482
  53: 'diving',
4483
+ 56: 'shooting', # Sport Shooting bits, set here for sport_bits alignment
4484
+ 58: 'winter_sport',
4485
+ 59: 'grinding', # Sailing position, operating manual winches to power boat controls
4444
4486
  62: 'hiit',
4487
+ 63: 'video_gaming',
4445
4488
  64: 'racket',
4446
4489
  65: 'wheelchair_push_walk',
4447
4490
  66: 'wheelchair_push_run',
4448
4491
  67: 'meditation',
4492
+ 68: 'para_sport',
4449
4493
  69: 'disc_golf',
4494
+ 70: 'team_sport',
4450
4495
  71: 'cricket',
4451
4496
  72: 'rugby',
4452
4497
  73: 'hockey',
@@ -4454,10 +4499,17 @@ FIELD_TYPES = {
4454
4499
  75: 'volleyball',
4455
4500
  76: 'water_tubing',
4456
4501
  77: 'wakesurfing',
4502
+ 78: 'water_sport',
4503
+ 79: 'archery',
4457
4504
  80: 'mixed_martial_arts',
4505
+ 81: 'motor_sports',
4458
4506
  82: 'snorkeling',
4459
4507
  83: 'dance',
4460
4508
  84: 'jump_rope',
4509
+ 85: 'pool_apnea',
4510
+ 86: 'mobility',
4511
+ 87: 'geocaching',
4512
+ 88: 'canoeing',
4461
4513
  254: 'all', # All is for goals only to include all sports.
4462
4514
  },
4463
4515
  ),
@@ -4758,23 +4810,40 @@ FIELD_TYPES = {
4758
4810
  58: 'virtual_activity',
4759
4811
  59: 'obstacle', # Used for events where participants run, crawl through mud, climb over walls, etc.
4760
4812
  62: 'breathing',
4813
+ 63: 'ccr_diving', # Diving w/ closed circuit rebreather
4761
4814
  65: 'sail_race', # Sailing
4815
+ 66: 'expedition', # Generic
4762
4816
  67: 'ultra', # Ultramarathon
4763
4817
  68: 'indoor_climbing', # Climbing
4764
4818
  69: 'bouldering', # Climbing
4765
4819
  70: 'hiit', # High Intensity Interval Training
4820
+ 71: 'indoor_grinding', # Sailing position, operating manual winches to power boat controls
4821
+ 72: 'hunting_with_dogs', # Hunting
4766
4822
  73: 'amrap', # HIIT
4767
4823
  74: 'emom', # HIIT
4768
4824
  75: 'tabata', # HIIT
4825
+ 77: 'esport', # Video Gaming, Cycling, etc.
4826
+ 78: 'triathlon', # Multisport
4827
+ 79: 'duathlon', # Multisport
4828
+ 80: 'brick', # Multisport
4829
+ 81: 'swim_run', # Multisport
4830
+ 82: 'adventure_race', # Multisport
4831
+ 83: 'trucker_workout', # DEZL trucker workout training sport
4769
4832
  84: 'pickleball', # Racket
4770
4833
  85: 'padel', # Racket
4771
4834
  86: 'indoor_wheelchair_walk',
4772
4835
  87: 'indoor_wheelchair_run',
4773
4836
  88: 'indoor_hand_cycling',
4774
- 94: 'squash',
4775
- 95: 'badminton',
4776
- 96: 'racquetball',
4777
- 97: 'table_tennis',
4837
+ 90: 'field', # Hockey
4838
+ 91: 'ice', # Hockey
4839
+ 92: 'ultimate', # Disc
4840
+ 93: 'platform', # Racket
4841
+ 94: 'squash', # Racket
4842
+ 95: 'badminton', # Racket
4843
+ 96: 'racquetball', # Racket
4844
+ 97: 'table_tennis', # Racket
4845
+ 98: 'overland',
4846
+ 99: 'trolling_motor', # Generic
4778
4847
  110: 'fly_canopy', # Flying
4779
4848
  111: 'fly_paraglide', # Flying
4780
4849
  112: 'fly_paramotor', # Flying
@@ -4785,6 +4854,12 @@ FIELD_TYPES = {
4785
4854
  117: 'fly_wx', # Flying
4786
4855
  118: 'fly_vfr', # Flying
4787
4856
  119: 'fly_ifr', # Flying
4857
+ 121: 'dynamic_apnea',
4858
+ 123: 'enduro', # Cycling
4859
+ 124: 'rucking', # Hiking
4860
+ 125: 'rally', # Motor sports
4861
+ 126: 'pool_triathlon', # Multisport
4862
+ 127: 'e_bike_enduro', # Cycling
4788
4863
  254: 'all',
4789
4864
  },
4790
4865
  ),
@@ -13410,6 +13485,62 @@ MESSAGE_TYPES = {
13410
13485
  253: FIELD_TYPE_TIMESTAMP,
13411
13486
  },
13412
13487
  ),
13488
+ 412: MessageType(
13489
+ name='nap_event',
13490
+ mesg_num=412,
13491
+ fields={
13492
+ 0: Field(
13493
+ name='start_time',
13494
+ type=FIELD_TYPES['date_time'],
13495
+ def_num=0,
13496
+ units='seconds',
13497
+ ),
13498
+ 1: Field(
13499
+ name='start_timezone_offset',
13500
+ type=BASE_TYPES[0x83], # sint16
13501
+ def_num=1,
13502
+ units='minutes',
13503
+ ),
13504
+ 2: Field(
13505
+ name='end_time',
13506
+ type=FIELD_TYPES['date_time'],
13507
+ def_num=2,
13508
+ units='seconds',
13509
+ ),
13510
+ 3: Field(
13511
+ name='end_timezone_offset',
13512
+ type=BASE_TYPES[0x83], # sint16
13513
+ def_num=3,
13514
+ units='minutes',
13515
+ ),
13516
+ 4: Field(
13517
+ name='feedback',
13518
+ type=FIELD_TYPES['nap_period_feedback'],
13519
+ def_num=4,
13520
+ ),
13521
+ 5: Field(
13522
+ name='is_deleted',
13523
+ type=FIELD_TYPES['bool'],
13524
+ def_num=5,
13525
+ ),
13526
+ 6: Field(
13527
+ name='source',
13528
+ type=FIELD_TYPES['nap_source'],
13529
+ def_num=6,
13530
+ ),
13531
+ 7: Field( # The timestamp representing when this nap event was last updated
13532
+ name='update_timestamp',
13533
+ type=FIELD_TYPES['date_time'],
13534
+ def_num=7,
13535
+ ),
13536
+ 253: FIELD_TYPE_TIMESTAMP,
13537
+ 254: Field(
13538
+ name='message_index',
13539
+ type=FIELD_TYPES['message_index'],
13540
+ def_num=254,
13541
+ ),
13542
+ },
13543
+ ),
13413
13544
  470: MessageType(
13414
13545
  name='sleep_disruption_severity_period',
13415
13546
  mesg_num=470,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-fitparse
3
- Version: 2.1.3
3
+ Version: 2.1.5
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,11 +1,11 @@
1
1
  fitparse/__init__.py,sha256=XigqA8TTG1j9B3PyV7PfAfJhVL2NQVGQrMtfmElEuNM,336
2
2
  fitparse/base.py,sha256=9Prisb5xfPGM79kszvfATVIgYMC3gWnHWaX1kqoHmAQ,24202
3
3
  fitparse/processors.py,sha256=gQNdFiT5xVn3R9uX-cjijL2JQ3cKtuygjAPKIZ7J53Q,5357
4
- fitparse/profile.py,sha256=L1UEjWL8t7kH9pQT5Z7pXI3N0G8nGtHoY32mco0PSA4,588012
4
+ fitparse/profile.py,sha256=pKXx1FDKrV5V_4n7TcQtdtWdzRdo7EaIUB0Q8Is4S9Y,592760
5
5
  fitparse/records.py,sha256=bjiuG6P2SrRHxmGWjcNbj29nnM6UAl9sw-toR2rFudk,14396
6
6
  fitparse/utils.py,sha256=cYmAKRktsiTKpxAAvp9XwjfN2BKzEP9-0fAKoTTu_Sw,1750
7
- python_fitparse-2.1.3.dist-info/METADATA,sha256=FR0wBYtkOn0oAQP5wmBevdya56zSDnb2vVEyZBCa0Bk,4097
8
- python_fitparse-2.1.3.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
9
- python_fitparse-2.1.3.dist-info/entry_points.txt,sha256=cM-FrZMgY175Od7pYZX7yu48XDynph8o2w-FBOBIyRU,49
10
- python_fitparse-2.1.3.dist-info/licenses/LICENSE,sha256=RK-rKfCYWql9q58dgvYwpDuo-N4g0L4iXxr8D5ubMIo,1157
11
- python_fitparse-2.1.3.dist-info/RECORD,,
7
+ python_fitparse-2.1.5.dist-info/METADATA,sha256=lvwQelrUHoO6EDYhnrAjjUNvZy2-S8Aurj2yjjx9PAs,4097
8
+ python_fitparse-2.1.5.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
9
+ python_fitparse-2.1.5.dist-info/entry_points.txt,sha256=cM-FrZMgY175Od7pYZX7yu48XDynph8o2w-FBOBIyRU,49
10
+ python_fitparse-2.1.5.dist-info/licenses/LICENSE,sha256=RK-rKfCYWql9q58dgvYwpDuo-N4g0L4iXxr8D5ubMIo,1157
11
+ python_fitparse-2.1.5.dist-info/RECORD,,