python-fitparse 2.1.5__tar.gz → 2.1.7__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.1.5 → python_fitparse-2.1.7}/PKG-INFO +2 -2
- {python_fitparse-2.1.5 → python_fitparse-2.1.7}/README.md +1 -1
- {python_fitparse-2.1.5 → python_fitparse-2.1.7}/fitparse/profile.py +35 -3
- {python_fitparse-2.1.5 → python_fitparse-2.1.7}/pyproject.toml +1 -1
- {python_fitparse-2.1.5 → python_fitparse-2.1.7}/.gitignore +0 -0
- {python_fitparse-2.1.5 → python_fitparse-2.1.7}/LICENSE +0 -0
- {python_fitparse-2.1.5 → python_fitparse-2.1.7}/fitparse/__init__.py +0 -0
- {python_fitparse-2.1.5 → python_fitparse-2.1.7}/fitparse/base.py +0 -0
- {python_fitparse-2.1.5 → python_fitparse-2.1.7}/fitparse/processors.py +0 -0
- {python_fitparse-2.1.5 → python_fitparse-2.1.7}/fitparse/records.py +0 -0
- {python_fitparse-2.1.5 → python_fitparse-2.1.7}/fitparse/utils.py +0 -0
- {python_fitparse-2.1.5 → python_fitparse-2.1.7}/patches/message_types/location.py +0 -0
- {python_fitparse-2.1.5 → python_fitparse-2.1.7}/scripts/fitdump +0 -0
- {python_fitparse-2.1.5 → python_fitparse-2.1.7}/scripts/generate_profile.py +0 -0
- {python_fitparse-2.1.5 → python_fitparse-2.1.7}/scripts/unit_tool.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-fitparse
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.7
|
|
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
|
|
@@ -54,7 +54,7 @@ python-fitparse
|
|
|
54
54
|
> This fork continues active development with support for new FIT SDK versions and patches.
|
|
55
55
|
|
|
56
56
|
Here's a Python library to parse ANT/Garmin `.FIT` files.
|
|
57
|
-
[](https://github.com/nbr23/python-fitparse/actions?query=workflow%3A%22Main+CI%2FCD+Pipeline%22)
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
Install from [](https://pypi.python.org/pypi/python-fitparse/):
|
|
@@ -6,7 +6,7 @@ python-fitparse
|
|
|
6
6
|
> This fork continues active development with support for new FIT SDK versions and patches.
|
|
7
7
|
|
|
8
8
|
Here's a Python library to parse ANT/Garmin `.FIT` files.
|
|
9
|
-
[](https://github.com/nbr23/python-fitparse/actions?query=workflow%3A%22Main+CI%2FCD+Pipeline%22)
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
Install from [](https://pypi.python.org/pypi/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.205 ON 2026-05-20 ***********
|
|
4
|
+
# ********* PARSED 201 TYPES (4399 VALUES), 124 MESSAGES (1411 FIELDS) *********
|
|
5
5
|
|
|
6
6
|
from fitparse.records import (
|
|
7
7
|
ComponentField,
|
|
@@ -2230,9 +2230,13 @@ FIELD_TYPES = {
|
|
|
2230
2230
|
4759: 'instinct3_solar_50mm',
|
|
2231
2231
|
4775: 'tactix8_amoled',
|
|
2232
2232
|
4776: 'tactix8_solar',
|
|
2233
|
+
4814: 'fr170_music',
|
|
2234
|
+
4815: 'fr170',
|
|
2233
2235
|
4825: 'approach_j1',
|
|
2234
2236
|
4879: 'd2_mach2',
|
|
2237
|
+
4916: 'fr70_2026',
|
|
2235
2238
|
4944: 'd2_air_x15',
|
|
2239
|
+
5056: 'd2_mach2_pro',
|
|
2236
2240
|
10007: 'sdm4', # SDM4 footpod
|
|
2237
2241
|
10014: 'edge_remote',
|
|
2238
2242
|
20119: 'training_center',
|
|
@@ -6391,6 +6395,13 @@ MESSAGE_TYPES = {
|
|
|
6391
6395
|
),
|
|
6392
6396
|
),
|
|
6393
6397
|
),
|
|
6398
|
+
78: Field(
|
|
6399
|
+
name='active_time',
|
|
6400
|
+
type=BASE_TYPES[0x86], # uint32
|
|
6401
|
+
def_num=78,
|
|
6402
|
+
scale=1000,
|
|
6403
|
+
units='s',
|
|
6404
|
+
),
|
|
6394
6405
|
82: Field(
|
|
6395
6406
|
name='player_score',
|
|
6396
6407
|
type=BASE_TYPES[0x84], # uint16
|
|
@@ -7484,6 +7495,13 @@ MESSAGE_TYPES = {
|
|
|
7484
7495
|
def_num=63,
|
|
7485
7496
|
units='bpm',
|
|
7486
7497
|
),
|
|
7498
|
+
70: Field(
|
|
7499
|
+
name='active_time',
|
|
7500
|
+
type=BASE_TYPES[0x86], # uint32
|
|
7501
|
+
def_num=70,
|
|
7502
|
+
scale=1000,
|
|
7503
|
+
units='s',
|
|
7504
|
+
),
|
|
7487
7505
|
71: Field(
|
|
7488
7506
|
name='wkt_step_index',
|
|
7489
7507
|
type=FIELD_TYPES['message_index'],
|
|
@@ -10712,6 +10730,13 @@ MESSAGE_TYPES = {
|
|
|
10712
10730
|
offset=500,
|
|
10713
10731
|
units='m',
|
|
10714
10732
|
),
|
|
10733
|
+
78: Field( # Active time of split rounds
|
|
10734
|
+
name='active_time',
|
|
10735
|
+
type=BASE_TYPES[0x86], # uint32
|
|
10736
|
+
def_num=78,
|
|
10737
|
+
scale=1000,
|
|
10738
|
+
units='s',
|
|
10739
|
+
),
|
|
10715
10740
|
110: Field(
|
|
10716
10741
|
name='total_moving_time',
|
|
10717
10742
|
type=BASE_TYPES[0x86], # uint32
|
|
@@ -10805,6 +10830,13 @@ MESSAGE_TYPES = {
|
|
|
10805
10830
|
def_num=13,
|
|
10806
10831
|
units='kcal',
|
|
10807
10832
|
),
|
|
10833
|
+
65: Field( # total active time in all split rounds
|
|
10834
|
+
name='active_time',
|
|
10835
|
+
type=BASE_TYPES[0x86], # uint32
|
|
10836
|
+
def_num=65,
|
|
10837
|
+
scale=1000,
|
|
10838
|
+
units='s',
|
|
10839
|
+
),
|
|
10808
10840
|
77: Field(
|
|
10809
10841
|
name='total_moving_time',
|
|
10810
10842
|
type=BASE_TYPES[0x86], # uint32
|
|
@@ -12164,7 +12196,7 @@ MESSAGE_TYPES = {
|
|
|
12164
12196
|
type=BASE_TYPES[0x84], # uint16
|
|
12165
12197
|
def_num=1,
|
|
12166
12198
|
scale=1000,
|
|
12167
|
-
units='
|
|
12199
|
+
units='C',
|
|
12168
12200
|
),
|
|
12169
12201
|
253: FIELD_TYPE_TIMESTAMP,
|
|
12170
12202
|
},
|
|
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
|