geo-activity-playground 0.16.0__tar.gz → 0.16.1__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.
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/PKG-INFO +1 -1
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/core/activity_parsers.py +4 -5
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/pyproject.toml +1 -1
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/LICENSE +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/__init__.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/__main__.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/core/__init__.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/core/activities.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/core/cache_migrations.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/core/config.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/core/coordinates.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/core/heatmap.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/core/tasks.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/core/test_tiles.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/core/tiles.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/explorer/__init__.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/explorer/grid_file.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/explorer/tile_visits.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/explorer/video.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/importers/directory.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/importers/strava_api.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/importers/strava_checkout.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/importers/test_strava_api.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/activity_controller.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/app.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/calendar_controller.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/eddington_controller.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/entry_controller.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/equipment_controller.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/explorer_controller.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/grayscale_tile_controller.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/heatmap_controller.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/search_controller.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/static/android-chrome-192x192.png +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/static/android-chrome-384x384.png +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/static/apple-touch-icon.png +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/static/browserconfig.xml +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/static/favicon-16x16.png +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/static/favicon-32x32.png +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/static/favicon.ico +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/static/mstile-150x150.png +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/static/safari-pinned-tab.svg +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/static/site.webmanifest +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/summary_controller.py +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/templates/activity.html.j2 +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/templates/calendar-month.html.j2 +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/templates/calendar.html.j2 +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/templates/eddington.html.j2 +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/templates/equipment.html.j2 +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/templates/explorer.html.j2 +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/templates/heatmap.html.j2 +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/templates/index.html.j2 +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/templates/page.html.j2 +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/templates/search.html.j2 +0 -0
- {geo_activity_playground-0.16.0 → geo_activity_playground-0.16.1}/geo_activity_playground/webui/templates/summary-statistics.html.j2 +0 -0
@@ -1,8 +1,6 @@
|
|
1
1
|
import datetime
|
2
2
|
import gzip
|
3
|
-
import os
|
4
3
|
import pathlib
|
5
|
-
import tempfile
|
6
4
|
import xml
|
7
5
|
|
8
6
|
import dateutil.parser
|
@@ -161,10 +159,11 @@ def read_tcx_activity(path: pathlib.Path, open) -> pd.DataFrame:
|
|
161
159
|
with open(path, "rb") as f:
|
162
160
|
content = f.read().strip()
|
163
161
|
|
164
|
-
|
162
|
+
stripped_file = pathlib.Path("Cache/temp.tcx")
|
163
|
+
with open(stripped_file, "wb") as f:
|
165
164
|
f.write(content)
|
166
|
-
|
167
|
-
|
165
|
+
data = tcx_reader.read(str(stripped_file))
|
166
|
+
stripped_file.unlink()
|
168
167
|
|
169
168
|
for trackpoint in data.trackpoints:
|
170
169
|
if trackpoint.latitude and trackpoint.longitude:
|
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
|
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
|
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
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|