geo-activity-playground 1.8.1__py3-none-any.whl → 1.8.3__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.
@@ -231,7 +231,7 @@ class Activity(DB.Model):
231
231
  return self.start
232
232
 
233
233
  @property
234
- def start_local(self) -> Optional[datetime.datetime]:
234
+ def start_utc(self) -> Optional[datetime.datetime]:
235
235
  if self.start:
236
236
  return self.start.replace(microsecond=0, tzinfo=zoneinfo.ZoneInfo("UTC"))
237
237
  else:
@@ -142,9 +142,6 @@ def try_import_strava(
142
142
  / "Strava Activity Metadata"
143
143
  / f"{strava_activity.id}.pickle"
144
144
  )
145
- # Sometimes we still get an activity here although it has already been imported from the Strava checkout.
146
- if cache_file.exists():
147
- continue
148
145
  cache_file.parent.mkdir(exist_ok=True, parents=True)
149
146
  with open(cache_file, "wb") as f:
150
147
  pickle.dump(strava_activity, f)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geo-activity-playground
3
- Version: 1.8.1
3
+ Version: 1.8.3
4
4
  Summary: Analysis of geo data activities like rides, runs or hikes.
5
5
  License: MIT
6
6
  Author: Martin Ueding
@@ -21,7 +21,7 @@ geo_activity_playground/core/activities.py,sha256=apP_-Rg1ub3lh7RARMGXf2BOmJTiah
21
21
  geo_activity_playground/core/config.py,sha256=mmdMQ5iCLNGnAlriT1ETEVS-gM6Aq_9sg22QECHj4n8,5358
22
22
  geo_activity_playground/core/coordinates.py,sha256=rW_OmMRpTUyIsQwrT6mgT9Y6uPGuwqTo5XDDMS7mGuo,1140
23
23
  geo_activity_playground/core/copernicus_dem.py,sha256=t6Bc9fsyGyx1awdePXvlN-Zc-tiT2eGSJ80SV5B1Z9A,2944
24
- geo_activity_playground/core/datamodel.py,sha256=DVKgvS8nIuvGBUiXGJbNci3xdY1TxXrFGhsYin86E5Q,16730
24
+ geo_activity_playground/core/datamodel.py,sha256=yuq3XCynetp1OlMr3fpSlXBArElgzdfejbqnJJX-xC4,16728
25
25
  geo_activity_playground/core/enrichment.py,sha256=b27E_KK30xjq8MuGFZyIpKzz8fO2LwLVaGGTP0mb5N0,8618
26
26
  geo_activity_playground/core/export.py,sha256=ayOmhWL72263oP9NLIZRYCg_Db0GLUFhgNIL_MCrV-E,4435
27
27
  geo_activity_playground/core/heart_rate.py,sha256=-S3WAhS7AOywrw_Lk5jfuo_fu6zvZQ1VtjwEKSycWpU,1542
@@ -55,7 +55,7 @@ geo_activity_playground/importers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
55
55
  geo_activity_playground/importers/activity_parsers.py,sha256=NAK_Fv_zy75WuNa1bgYgzjc7Dnsj1oVah6DW0faLCG4,11403
56
56
  geo_activity_playground/importers/csv_parser.py,sha256=O1pP5GLhWhnWcy2Lsrr9g17Zspuibpt-GtZ3ZS5eZF4,2143
57
57
  geo_activity_playground/importers/directory.py,sha256=sHcLIi0DOPEATt4wiE_vp00h89fO940wUQyJZUzzpnw,3978
58
- geo_activity_playground/importers/strava_api.py,sha256=RBKjeFJlDMqVBamr47y9wfO1w-0reE8turYe7aDxLWI,9556
58
+ geo_activity_playground/importers/strava_api.py,sha256=IUmsN3Zor-CXXtdDVXJHsqBFnDNx-W0YoQ8d9ECcFT8,9377
59
59
  geo_activity_playground/importers/strava_checkout.py,sha256=joJI_uic9fYtu7E5Odh6GUq_LyiLqQ72Ucy_Mbjr-X0,9289
60
60
  geo_activity_playground/importers/test_csv_parser.py,sha256=nOTVTdlzIY0TDcbWp7xNyNaIO6Mkeu55hVziVl22QE4,1092
61
61
  geo_activity_playground/importers/test_directory.py,sha256=_fn_-y98ZyElbG0BRxAmGFdtGobUShPU86SdEOpuv-A,691
@@ -175,8 +175,8 @@ geo_activity_playground/webui/templates/summary/vega-chart.html.j2,sha256=mw8Hti
175
175
  geo_activity_playground/webui/templates/time_zone_fixer/index.html.j2,sha256=s9r6BJMXmd7kLSyjkvH4xLi6e01S5bpGRcMgMMJyCAE,1760
176
176
  geo_activity_playground/webui/templates/upload/index.html.j2,sha256=I1Ix8tDS3YBdi-HdaNfjkzYXVVCjfUTe5PFTnap1ydc,775
177
177
  geo_activity_playground/webui/templates/upload/reload.html.j2,sha256=YZWX5eDeNyqKJdQAywDBcU8DZBm22rRBbZqFjrFrCvQ,556
178
- geo_activity_playground-1.8.1.dist-info/LICENSE,sha256=4RpAwKO8bPkfXH2lnpeUW0eLkNWglyG4lbrLDU_MOwY,1070
179
- geo_activity_playground-1.8.1.dist-info/METADATA,sha256=HyyJa5cDbqyVU5OwcEhBZtZtBbgQ2ioHqWVuuLTmuOg,1937
180
- geo_activity_playground-1.8.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
181
- geo_activity_playground-1.8.1.dist-info/entry_points.txt,sha256=pbNlLI6IIZIp7nPYCfAtiSiz2oxJSCl7DODD6SPkLKk,81
182
- geo_activity_playground-1.8.1.dist-info/RECORD,,
178
+ geo_activity_playground-1.8.3.dist-info/LICENSE,sha256=4RpAwKO8bPkfXH2lnpeUW0eLkNWglyG4lbrLDU_MOwY,1070
179
+ geo_activity_playground-1.8.3.dist-info/METADATA,sha256=OhfYXMd4NPi3vQcxAmHZKoRiNMwZtLwABe4_EC4sExA,1937
180
+ geo_activity_playground-1.8.3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
181
+ geo_activity_playground-1.8.3.dist-info/entry_points.txt,sha256=pbNlLI6IIZIp7nPYCfAtiSiz2oxJSCl7DODD6SPkLKk,81
182
+ geo_activity_playground-1.8.3.dist-info/RECORD,,