geo-activity-playground 0.38.0__py3-none-any.whl → 0.38.1__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.
@@ -119,8 +119,8 @@ def _get_metadata_from_timeseries(timeseries: pd.DataFrame) -> ActivityMeta:
119
119
  metadata["end_latitude"] = timeseries["latitude"].iloc[-1]
120
120
  metadata["start_longitude"] = timeseries["longitude"].iloc[0]
121
121
  metadata["end_longitude"] = timeseries["longitude"].iloc[-1]
122
-
123
- metadata["elevation_gain"] = timeseries["elevation_gain_cum"].iloc[-1]
122
+ if "elevation_gain_cum" in timeseries.columns:
123
+ metadata["elevation_gain"] = timeseries["elevation_gain_cum"].iloc[-1]
124
124
 
125
125
  return metadata
126
126
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geo-activity-playground
3
- Version: 0.38.0
3
+ Version: 0.38.1
4
4
  Summary: Analysis of geo data activities like rides, runs or hikes.
5
5
  License: MIT
6
6
  Author: Martin Ueding
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3.10
12
12
  Classifier: Programming Language :: Python :: 3.11
13
13
  Classifier: Programming Language :: Python :: 3.12
14
14
  Requires-Dist: Pillow (>=11.0.0,<12.0.0)
15
- Requires-Dist: altair (>=5.1.2,<6.0.0)
15
+ Requires-Dist: altair (>=5.5.0,<6.0.0)
16
16
  Requires-Dist: appdirs (>=1.4.4,<2.0.0)
17
17
  Requires-Dist: charset-normalizer (>=3.3.2,<4.0.0)
18
18
  Requires-Dist: coloredlogs (>=15.0.1,<16.0.0)
@@ -21,10 +21,10 @@ Requires-Dist: flask (>=3.0.0,<4.0.0)
21
21
  Requires-Dist: geojson (>=3.0.1,<4.0.0)
22
22
  Requires-Dist: gpxpy (>=1.5.0,<2.0.0)
23
23
  Requires-Dist: jinja2 (>=3.1.2,<4.0.0)
24
- Requires-Dist: matplotlib (>=3.6.3,<4.0.0)
25
- Requires-Dist: numpy (>=2.1.3,<3.0.0)
26
- Requires-Dist: pandas (>=2.2,<3.0)
27
- Requires-Dist: pyarrow (>=18.1.0,<19.0.0)
24
+ Requires-Dist: matplotlib (>=3.10.1,<4.0.0)
25
+ Requires-Dist: numpy (>=2.2.3,<3.0.0)
26
+ Requires-Dist: pandas (>=2.2.3,<3.0.0)
27
+ Requires-Dist: pyarrow (>=19.0.1,<20.0.0)
28
28
  Requires-Dist: python-dateutil (>=2.8.2,<3.0.0)
29
29
  Requires-Dist: requests (>=2.28.1,<3.0.0)
30
30
  Requires-Dist: shapely (>=2.0.5,<3.0.0)
@@ -4,7 +4,7 @@ geo_activity_playground/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
4
4
  geo_activity_playground/core/activities.py,sha256=hIn11bsriNhcalWRWPU8SYqM7cKEFI-n9voqSyT7Tdk,7695
5
5
  geo_activity_playground/core/config.py,sha256=oo0pSoBZVU__U81OzW2Qdw8C5Tq_pO7CWibA4CugZmc,5296
6
6
  geo_activity_playground/core/coordinates.py,sha256=tDfr9mlXhK6E_MMIJ0vYWVCoH0Lq8uyuaqUgaa8i0jg,966
7
- geo_activity_playground/core/enrichment.py,sha256=od2H0W-Ubw1lhVeB_qTbFMuxN7jU5Gkb0eHH7QpZkTA,8186
7
+ geo_activity_playground/core/enrichment.py,sha256=WbUsKifhLLQc2ntqcYs_KwRPrWvSMmMWTWBY6blJx8U,8240
8
8
  geo_activity_playground/core/heart_rate.py,sha256=IwMt58TpjOYqpAxtsj07zP2ttpN_J3GZeiv-qGhYyJc,1598
9
9
  geo_activity_playground/core/meta_search.py,sha256=naErjAC7ZCFhOF6d492kbegZxCdzbpGcJvjQLJTE4xE,5016
10
10
  geo_activity_playground/core/paths.py,sha256=RBeUi38riP_msTGPy1TsPRNiblzE-lFivaJSLULE8b0,2503
@@ -122,8 +122,8 @@ geo_activity_playground/webui/templates/upload/index.html.j2,sha256=I1Ix8tDS3YBd
122
122
  geo_activity_playground/webui/templates/upload/reload.html.j2,sha256=YZWX5eDeNyqKJdQAywDBcU8DZBm22rRBbZqFjrFrCvQ,556
123
123
  geo_activity_playground/webui/tile_blueprint.py,sha256=QU8YRjhMf-lhPJGqrCjV49QBX0ATgTny96GYhqJwwyI,1755
124
124
  geo_activity_playground/webui/upload_blueprint.py,sha256=Ha3H5Dsl6YS6YYmFouXamU8viEpLIj1YIE9XJVCiakY,4368
125
- geo_activity_playground-0.38.0.dist-info/LICENSE,sha256=4RpAwKO8bPkfXH2lnpeUW0eLkNWglyG4lbrLDU_MOwY,1070
126
- geo_activity_playground-0.38.0.dist-info/METADATA,sha256=Mlj1jwAXTRf43R9CFqymICnZVmTnc0wpaW_b7rSHo6k,1573
127
- geo_activity_playground-0.38.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
128
- geo_activity_playground-0.38.0.dist-info/entry_points.txt,sha256=pbNlLI6IIZIp7nPYCfAtiSiz2oxJSCl7DODD6SPkLKk,81
129
- geo_activity_playground-0.38.0.dist-info/RECORD,,
125
+ geo_activity_playground-0.38.1.dist-info/LICENSE,sha256=4RpAwKO8bPkfXH2lnpeUW0eLkNWglyG4lbrLDU_MOwY,1070
126
+ geo_activity_playground-0.38.1.dist-info/METADATA,sha256=RpzjyF4OQW6pKBgBOquO3S6a94tp5uiOFPdkeOpiRVE,1578
127
+ geo_activity_playground-0.38.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
128
+ geo_activity_playground-0.38.1.dist-info/entry_points.txt,sha256=pbNlLI6IIZIp7nPYCfAtiSiz2oxJSCl7DODD6SPkLKk,81
129
+ geo_activity_playground-0.38.1.dist-info/RECORD,,