sstools 0.2.7__tar.gz → 0.2.9__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.1
2
2
  Name: sstools
3
- Version: 0.2.7
3
+ Version: 0.2.9
4
4
  Summary: swimstats tools
5
5
  Home-page: https://swimstats.net
6
6
  Author: Roman Arnet
@@ -12,6 +12,13 @@ Requires-Python: >=3.6
12
12
  Description-Content-Type: text/markdown
13
13
 
14
14
  # sstools - Swimstats Tools
15
+ sstools - Swimstats Tools
16
+ 0.2.9
17
+ - Fix season 2024 FINA SCM
18
+
19
+ 0.2.8
20
+ - Add season 2025 FINA SCM
21
+
15
22
  0.2.7
16
23
  - Trunc FINA calculation
17
24
  - Add Rudolph-Punkttabelle 2025
@@ -1,4 +1,11 @@
1
1
  # sstools - Swimstats Tools
2
+ sstools - Swimstats Tools
3
+ 0.2.9
4
+ - Fix season 2024 FINA SCM
5
+
6
+ 0.2.8
7
+ - Add season 2025 FINA SCM
8
+
2
9
  0.2.7
3
10
  - Trunc FINA calculation
4
11
  - Add Rudolph-Punkttabelle 2025
@@ -6,7 +6,7 @@ with open("README.md", "r") as fh:
6
6
 
7
7
  setuptools.setup(
8
8
  name="sstools", # Replace with your own username
9
- version="0.2.7",
9
+ version="0.2.9",
10
10
  author="Roman Arnet",
11
11
  author_email="arnet@dlab.ch",
12
12
  description="swimstats tools",
@@ -55,6 +55,7 @@ class SsConverter:
55
55
  2022,
56
56
  2023,
57
57
  2024,
58
+ 2025,
58
59
  ],
59
60
  "LCM": [
60
61
  2008,
@@ -78,7 +79,7 @@ class SsConverter:
78
79
  ],
79
80
  }
80
81
  self._fina_season_base = {
81
- "SCM": 2024, # Validity Period: 1.9.YYYY-31.8.YYYY+1
82
+ "SCM": 2025, # Validity Period: 1.9.YYYY-31.8.YYYY+1
82
83
  "LCM": 2025,
83
84
  } # Validity Period: 1.1.XXXX-31.12.XXXX
84
85
  self._fina_base_table_path = os.path.join(os.path.dirname(__file__), "fina_base_times.pkl")
@@ -532,6 +533,8 @@ if __name__ == "__main__":
532
533
  print(ssconv.get_finapts_from_seconds("LCM", "M", "1500m Freestyle", 21 * 60 + 40.60, 2025))
533
534
  print(ssconv.get_seconds_from_finapts("LCM", "M", "1500m Freestyle", 300, 2025))
534
535
 
536
+ print(ssconv.get_rudolphpts_from_seconds("M", "50m Backstroke", 16, 26.54, 2025))
537
+
535
538
  # print(ssconv.get_finapts_from_seconds("LCM", "M", "50m Freestyle", [23.96], 2009))
536
539
  # print(ssconv.get_finapts_from_seconds("LCM", "M", "100m Breaststroke", [56.88]))
537
540
  # print(ssconv.get_rudolphpts_from_seconds("F", "200m Backstroke", 9, [203.87], 2024))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sstools
3
- Version: 0.2.7
3
+ Version: 0.2.9
4
4
  Summary: swimstats tools
5
5
  Home-page: https://swimstats.net
6
6
  Author: Roman Arnet
@@ -12,6 +12,13 @@ Requires-Python: >=3.6
12
12
  Description-Content-Type: text/markdown
13
13
 
14
14
  # sstools - Swimstats Tools
15
+ sstools - Swimstats Tools
16
+ 0.2.9
17
+ - Fix season 2024 FINA SCM
18
+
19
+ 0.2.8
20
+ - Add season 2025 FINA SCM
21
+
15
22
  0.2.7
16
23
  - Trunc FINA calculation
17
24
  - Add Rudolph-Punkttabelle 2025
File without changes
File without changes
File without changes
File without changes
File without changes