geo-activity-playground 0.22.0__py3-none-any.whl → 0.24.0__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.
Files changed (77) hide show
  1. geo_activity_playground/__main__.py +1 -1
  2. geo_activity_playground/core/activities.py +16 -9
  3. geo_activity_playground/core/activity_parsers.py +17 -32
  4. geo_activity_playground/core/cache_migrations.py +24 -0
  5. geo_activity_playground/core/heatmap.py +21 -21
  6. geo_activity_playground/core/privacy_zones.py +16 -0
  7. geo_activity_playground/core/similarity.py +1 -1
  8. geo_activity_playground/core/test_time_conversion.py +37 -0
  9. geo_activity_playground/core/time_conversion.py +14 -0
  10. geo_activity_playground/explorer/tile_visits.py +44 -27
  11. geo_activity_playground/importers/__init__.py +0 -0
  12. geo_activity_playground/importers/directory.py +7 -2
  13. geo_activity_playground/importers/strava_api.py +6 -0
  14. geo_activity_playground/importers/strava_checkout.py +12 -3
  15. geo_activity_playground/webui/__init__.py +0 -0
  16. geo_activity_playground/webui/activity/__init__.py +0 -0
  17. geo_activity_playground/webui/activity/blueprint.py +58 -0
  18. geo_activity_playground/webui/{activity_controller.py → activity/controller.py} +128 -18
  19. geo_activity_playground/webui/{templates/activity-day.html.j2 → activity/templates/activity/day.html.j2} +14 -2
  20. geo_activity_playground/webui/{templates/activity-name.html.j2 → activity/templates/activity/name.html.j2} +1 -1
  21. geo_activity_playground/webui/{templates/activity.html.j2 → activity/templates/activity/show.html.j2} +9 -4
  22. geo_activity_playground/webui/app.py +68 -281
  23. geo_activity_playground/webui/calendar/__init__.py +0 -0
  24. geo_activity_playground/webui/calendar/blueprint.py +26 -0
  25. geo_activity_playground/webui/{calendar_controller.py → calendar/controller.py} +5 -5
  26. geo_activity_playground/webui/{templates/calendar.html.j2 → calendar/templates/calendar/index.html.j2} +3 -2
  27. geo_activity_playground/webui/{templates/calendar-month.html.j2 → calendar/templates/calendar/month.html.j2} +2 -2
  28. geo_activity_playground/webui/eddington/__init__.py +0 -0
  29. geo_activity_playground/webui/eddington/blueprint.py +19 -0
  30. geo_activity_playground/webui/{eddington_controller.py → eddington/controller.py} +14 -6
  31. geo_activity_playground/webui/eddington/templates/eddington/index.html.j2 +56 -0
  32. geo_activity_playground/webui/entry_controller.py +4 -2
  33. geo_activity_playground/webui/equipment/__init__.py +0 -0
  34. geo_activity_playground/webui/equipment/blueprint.py +19 -0
  35. geo_activity_playground/webui/{equipment_controller.py → equipment/controller.py} +5 -3
  36. geo_activity_playground/webui/explorer/__init__.py +0 -0
  37. geo_activity_playground/webui/explorer/blueprint.py +54 -0
  38. geo_activity_playground/webui/{explorer_controller.py → explorer/controller.py} +6 -2
  39. geo_activity_playground/webui/{templates/explorer.html.j2 → explorer/templates/explorer/index.html.j2} +2 -2
  40. geo_activity_playground/webui/heatmap/__init__.py +0 -0
  41. geo_activity_playground/webui/heatmap/blueprint.py +41 -0
  42. geo_activity_playground/webui/{heatmap_controller.py → heatmap/heatmap_controller.py} +36 -13
  43. geo_activity_playground/webui/{templates/heatmap.html.j2 → heatmap/templates/heatmap/index.html.j2} +17 -2
  44. geo_activity_playground/webui/search_controller.py +1 -9
  45. geo_activity_playground/webui/square_planner/__init__.py +0 -0
  46. geo_activity_playground/webui/square_planner/blueprint.py +38 -0
  47. geo_activity_playground/webui/summary/__init__.py +0 -0
  48. geo_activity_playground/webui/summary/blueprint.py +16 -0
  49. geo_activity_playground/webui/summary/controller.py +268 -0
  50. geo_activity_playground/webui/summary/templates/summary/index.html.j2 +135 -0
  51. geo_activity_playground/webui/templates/{index.html.j2 → home.html.j2} +1 -1
  52. geo_activity_playground/webui/templates/page.html.j2 +32 -19
  53. geo_activity_playground/webui/templates/search.html.j2 +1 -1
  54. geo_activity_playground/webui/tile/__init__.py +0 -0
  55. geo_activity_playground/webui/tile/blueprint.py +31 -0
  56. geo_activity_playground/webui/upload/__init__.py +0 -0
  57. geo_activity_playground/webui/upload/blueprint.py +28 -0
  58. geo_activity_playground/webui/{upload_controller.py → upload/controller.py} +15 -6
  59. geo_activity_playground/webui/{templates/upload.html.j2 → upload/templates/upload/index.html.j2} +12 -11
  60. {geo_activity_playground-0.22.0.dist-info → geo_activity_playground-0.24.0.dist-info}/METADATA +2 -1
  61. geo_activity_playground-0.24.0.dist-info/RECORD +95 -0
  62. geo_activity_playground/webui/config_controller.py +0 -12
  63. geo_activity_playground/webui/locations_controller.py +0 -28
  64. geo_activity_playground/webui/summary_controller.py +0 -60
  65. geo_activity_playground/webui/templates/config.html.j2 +0 -24
  66. geo_activity_playground/webui/templates/eddington.html.j2 +0 -18
  67. geo_activity_playground/webui/templates/locations.html.j2 +0 -38
  68. geo_activity_playground/webui/templates/summary.html.j2 +0 -21
  69. geo_activity_playground-0.22.0.dist-info/RECORD +0 -74
  70. /geo_activity_playground/webui/{templates/activity-lines.html.j2 → activity/templates/activity/lines.html.j2} +0 -0
  71. /geo_activity_playground/webui/{templates/equipment.html.j2 → equipment/templates/equipment/index.html.j2} +0 -0
  72. /geo_activity_playground/webui/{square_planner_controller.py → square_planner/controller.py} +0 -0
  73. /geo_activity_playground/webui/{templates/square-planner.html.j2 → square_planner/templates/square_planner/index.html.j2} +0 -0
  74. /geo_activity_playground/webui/{tile_controller.py → tile/controller.py} +0 -0
  75. {geo_activity_playground-0.22.0.dist-info → geo_activity_playground-0.24.0.dist-info}/LICENSE +0 -0
  76. {geo_activity_playground-0.22.0.dist-info → geo_activity_playground-0.24.0.dist-info}/WHEEL +0 -0
  77. {geo_activity_playground-0.22.0.dist-info → geo_activity_playground-0.24.0.dist-info}/entry_points.txt +0 -0
@@ -1,24 +0,0 @@
1
- {% extends "page.html.j2" %}
2
-
3
- {% block container %}
4
-
5
- <h1 class="mb-3">Configuration</h1>
6
-
7
- <div class="row mb-3">
8
- <div class="col-md-4">
9
- <form action="/config/save" method="POST">
10
- <div class="mb-3">
11
- <label for="exampleFormControlInput1" class="form-label">Email address</label>
12
- <input type="email" class="form-control" id="exampleFormControlInput1" placeholder="name@example.com" />
13
- </div>
14
- <div class="mb-3">
15
- <label for="exampleFormControlTextarea1" class="form-label">Example textarea</label>
16
- <textarea class="form-control" id="exampleFormControlTextarea1" rows="3"></textarea>
17
- </div>
18
- </form>
19
- </div>
20
- </div>
21
-
22
- <input type="submit" value="Save" />
23
-
24
- {% endblock %}
@@ -1,18 +0,0 @@
1
- {% extends "page.html.j2" %}
2
-
3
- {% block container %}
4
- <div class="row mb-1">
5
- <div class="col">
6
- <h1>Eddington Number</h1>
7
-
8
- <p>Your Eddington number is {{ eddington_number }}. That means that on {{ eddington_number }} separate days you
9
- have recorded activities exceeding {{ eddington_number }} km.</p>
10
- </div>
11
- </div>
12
-
13
- <div class="row mb-1">
14
- <div class="col">
15
- {{ vega_direct("eddington-log", logarithmic_plot) }}
16
- </div>
17
- </div>
18
- {% endblock %}
@@ -1,38 +0,0 @@
1
- {% extends "page.html.j2" %}
2
-
3
- {% block container %}
4
- <div class="row mb-3">
5
- <div class="col">
6
- <h1>Locations</h1>
7
- </div>
8
- </div>
9
-
10
- <div class="row mb-3">
11
- <div class="col-8">
12
- <div id="activity-map" style="height: 500px;"></div>
13
- <script>
14
- function onEachFeature(feature, layer) {
15
- layer.bindPopup(`${feature.geometry.coordinates}`)
16
- }
17
-
18
-
19
- let map = L.map('activity-map', {
20
- fullscreenControl: true
21
- });
22
- L.tileLayer('/tile/color/{z}/{x}/{y}.png', {
23
- maxZoom: 19,
24
- attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
25
- }).addTo(map);
26
-
27
- let geojson = L.geoJSON({{ activity_endpoints_geojson| safe }}, { onEachFeature: onEachFeature })
28
- let markers = L.markerClusterGroup();
29
- markers.addLayer(geojson);
30
- map.addLayer(markers);
31
-
32
- map.fitBounds(geojson.getBounds());
33
- </script>
34
- </div>
35
- </div>
36
-
37
-
38
- {% endblock %}
@@ -1,21 +0,0 @@
1
- {% extends "page.html.j2" %}
2
-
3
- {% block container %}
4
- <div class="row mb-1">
5
- <div class="col">
6
- <h1>Summary Statistics</h1>
7
- </div>
8
- </div>
9
-
10
- <div class="row mb-1">
11
- <div class="col">
12
- {{ vega_direct("year_on_year_distance_meta_plot", year_on_year_distance_meta_plot) }}
13
- </div>
14
- </div>
15
-
16
- <div class="row mb-1">
17
- <div class="col">
18
- {{ vega_direct("distance_heatmap_meta_plot", distance_heatmap_meta_plot) }}
19
- </div>
20
- </div>
21
- {% endblock %}
@@ -1,74 +0,0 @@
1
- geo_activity_playground/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- geo_activity_playground/__main__.py,sha256=ssK4XW5RsyV_guZEVslRgOr-eYW3mKp29rOc8ZWwfqg,4131
3
- geo_activity_playground/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- geo_activity_playground/core/activities.py,sha256=w6wCPFCsSjM_WLYIzPGTDyAoXJcQ0FXa2PDZOyj_d2U,11016
5
- geo_activity_playground/core/activity_parsers.py,sha256=GYDaKi5lFo5YIThoRc0enmwwgWkTfJKCxiPsSkpHBxw,11440
6
- geo_activity_playground/core/cache_migrations.py,sha256=cz7zwoYtjAcFbUQee1UqeyHT0K2oiyfpPVh5tXkzk0U,3479
7
- geo_activity_playground/core/config.py,sha256=YjqCiEmIAa-GM1-JfBctMEsl8-I56pZyyDdTyPduOzw,477
8
- geo_activity_playground/core/coordinates.py,sha256=tDfr9mlXhK6E_MMIJ0vYWVCoH0Lq8uyuaqUgaa8i0jg,966
9
- geo_activity_playground/core/heatmap.py,sha256=EW_k_ob7NyQr2Yebe-S0miBRaWmQRsqTTrbCQB9kNrQ,4423
10
- geo_activity_playground/core/paths.py,sha256=EX4yQQyAmWRxTYS0QvFCbGz9v1J0z_1QYfd5hjTmaRw,808
11
- geo_activity_playground/core/similarity.py,sha256=GUBYIpQEe8AgVRNwas0UfmxoK0r0oWg_VEzLeEwxMO0,3153
12
- geo_activity_playground/core/tasks.py,sha256=lcfLeYpla819v2BTf53zvT0xEB4I6OpSfqfF_xlsLwM,1817
13
- geo_activity_playground/core/test_tiles.py,sha256=zce1FxNfsSpOQt66jMehdQRVoNdl-oiFydx6iVBHZXM,764
14
- geo_activity_playground/core/tiles.py,sha256=VxPu9vdfKnxDxaYo5JSYmka9Dt3TDxg0zo3cYVJXVHc,3359
15
- geo_activity_playground/explorer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
- geo_activity_playground/explorer/grid_file.py,sha256=k6j6KBEk2a2BY-onE8SV5TJsERGGyOrlY4as__meWpA,3304
17
- geo_activity_playground/explorer/tile_visits.py,sha256=nlhxEMCiDXz9GXw1Q-rqa21Wgzafg51B3se6z3PMddE,11233
18
- geo_activity_playground/explorer/video.py,sha256=ROAmV9shfJyqTgnXVD41KFORiwnRgVpEWenIq4hMCRM,4389
19
- geo_activity_playground/importers/directory.py,sha256=9jaryMpxUYA_mUdcHs79CvSsAATkQ7ZwnZpVuOXgesE,4321
20
- geo_activity_playground/importers/strava_api.py,sha256=iCxhDykJIazNdxm7EyNNZXuheddUZTYN6BSvAd9k-38,7602
21
- geo_activity_playground/importers/strava_checkout.py,sha256=0lR4aV1yGjIOcmkt4Govrei-mRttbajfXl-yKEgSdLs,7243
22
- geo_activity_playground/importers/test_directory.py,sha256=ljXokx7q0OgtHvEdHftcQYEmZJUDVv3OOF5opklxdT4,724
23
- geo_activity_playground/importers/test_strava_api.py,sha256=4vX7wDr1a9aRh8myxNrIq6RwDBbP8ZeoXXPc10CAbW4,431
24
- geo_activity_playground/webui/activity_controller.py,sha256=yM7-EPcoKen-e9mt4D7UWo-E7Zk7Y39_-kr2IV7Km6U,12515
25
- geo_activity_playground/webui/app.py,sha256=K7VUvnVH8YWJHxMdjpVJd6iecXc9FgVBYeSceATlekg,12154
26
- geo_activity_playground/webui/calendar_controller.py,sha256=gRc0KjJ5r7dEZeiU1JHnJ-f_MBNlhRev2EZyqlHybko,2754
27
- geo_activity_playground/webui/config_controller.py,sha256=4M8mQc58Hkm-ssfYF1gKRepiAXFIzkZdIMRSbX-aI1U,320
28
- geo_activity_playground/webui/eddington_controller.py,sha256=86HISbRxmnkiCxclVacYzUe-PLgQ9Db7YuVN6F0a33M,2607
29
- geo_activity_playground/webui/entry_controller.py,sha256=_Qi7jDHBMv7xA-e5ZnY9g4Ala3Miq8bJBpYJm1unXYo,1866
30
- geo_activity_playground/webui/equipment_controller.py,sha256=mDFQutTLE8H4w29rcfv-TDMXb448fRGEuVuKLR4ZQlM,2290
31
- geo_activity_playground/webui/explorer_controller.py,sha256=HU7EKpdS3Pt1y7_fByGJRMFIxPMb2Gz-hILxi8HlZns,10494
32
- geo_activity_playground/webui/heatmap_controller.py,sha256=JrXnMYr3rD8pHP_BPef19SoFweUBeZs0-x74RjLQAIw,5451
33
- geo_activity_playground/webui/locations_controller.py,sha256=xTIm-MN0B_0TDN6_J13HCkCnKLhipjYvlNWynGEpWuE,950
34
- geo_activity_playground/webui/search_controller.py,sha256=WG5TTVDFBqamrWKHbiEoZXo-73WqO5SynLAoDeU8o2A,859
35
- geo_activity_playground/webui/square_planner_controller.py,sha256=wYcNEviDgqyYxSrnwMD_5LnYXIazVH9plGX8RxG6oco,3464
36
- geo_activity_playground/webui/static/android-chrome-192x192.png,sha256=yxZgo8Jw4hrgOgrn3tvi9G0AXWGFD29kjCuxC07WoT4,17610
37
- geo_activity_playground/webui/static/android-chrome-384x384.png,sha256=bgeqAdyvDZBMch7rVi3qSawf0Zr4Go0EG8Ws_B8NApY,49297
38
- geo_activity_playground/webui/static/android-chrome-512x512.png,sha256=Uiv62gQpUjMOdp9d6exzd6IyOi5zgQdgjIVVWYw5m98,38891
39
- geo_activity_playground/webui/static/apple-touch-icon.png,sha256=NsVMubJtVzslhql4GZlwTWm4cNRowgcEOT53RuZV190,16549
40
- geo_activity_playground/webui/static/browserconfig.xml,sha256=u5EvU6U1jKSDiXHW0i4rXrs0lT_tmS82otbJnvmccrk,253
41
- geo_activity_playground/webui/static/favicon-16x16.png,sha256=Yy8lRjGB7itDaeUI_l_Toq3OO0gzgPGnqIfM3CqcQy0,1419
42
- geo_activity_playground/webui/static/favicon-32x32.png,sha256=K52R99pLGgWHnjFPPkVieBm051Er-sTCiMvgLr9Alrg,2587
43
- geo_activity_playground/webui/static/favicon.ico,sha256=uVNZlrF22zn1lcCS_9wAoWLhBt1mpGSGMmHZwwskIVc,12014
44
- geo_activity_playground/webui/static/mstile-150x150.png,sha256=j1ANUQJ1Xi1DR2sGqYZztob2ypfGw04eNtGpN9SxExA,11964
45
- geo_activity_playground/webui/static/safari-pinned-tab.svg,sha256=OzoEVGY0igWRXM1NiM3SRKugdICBN7aB_XuxaC3Mu9Q,8371
46
- geo_activity_playground/webui/static/site.webmanifest,sha256=4vYxdPMpwTdB8EmOvHkkYcjZ8Yrci3pOwwY3o_VwACA,440
47
- geo_activity_playground/webui/strava_controller.py,sha256=-DZ1Ae-0cWx5tia2dJpGfsBBoIya0QO7IC2qa1-7Q_U,779
48
- geo_activity_playground/webui/summary_controller.py,sha256=CN64yUQkhGFC11iiG8_83E3rYFdRixB5Dl_mUhqSo28,1806
49
- geo_activity_playground/webui/templates/activity-day.html.j2,sha256=LiYe5e_b8t7k0ZS6Lk8E0bpm-I4-kc-SRS-P8UUQBYI,2237
50
- geo_activity_playground/webui/templates/activity-lines.html.j2,sha256=5gB1aDjRgi_RventenRfC10_FtMT4ch_VuWvA9AMlBY,1121
51
- geo_activity_playground/webui/templates/activity-name.html.j2,sha256=opHCj_zY3Xz1l3jIXUQvVdxBNi_D9C-Mdnbx2nQqTTQ,2381
52
- geo_activity_playground/webui/templates/activity.html.j2,sha256=ncj0K1471nRHtbBL9fqhGZ7a9DoJLyqt6ckX8rnhS28,4946
53
- geo_activity_playground/webui/templates/calendar-month.html.j2,sha256=rV96gOXS0eZU3Dokg8Wb7AJVXJvTPsw61OJoj8lRvt4,1767
54
- geo_activity_playground/webui/templates/calendar.html.j2,sha256=x3E1R6KoscVxfcndFePEA855tYz5UoHDSrDbjkhuOOs,1349
55
- geo_activity_playground/webui/templates/config.html.j2,sha256=pmec-TqSl5CVznQlyHuC91o18qa0ZQWHXxSBrlV4au4,796
56
- geo_activity_playground/webui/templates/eddington.html.j2,sha256=yl75IzWeIkFpwPj8FjTrzJsz_f-qdETPmNnAGLPJuL8,487
57
- geo_activity_playground/webui/templates/equipment.html.j2,sha256=dNuezVKJNJZbQ0y2-AYlXNHpncTbtOSDNLqNswRTxaI,1320
58
- geo_activity_playground/webui/templates/explorer.html.j2,sha256=ORaBlDxqg9YTxnOCDAkt3Qj38YHkClolO7x--YJ0xmk,6513
59
- geo_activity_playground/webui/templates/heatmap.html.j2,sha256=VQZBLv5Rw6QAGosA50darHdpOjSUsYfx7HkWhqt0YnQ,1208
60
- geo_activity_playground/webui/templates/index.html.j2,sha256=5eDy9F9HGGAZRZB9siFeqgkrGS86ZoV4JvM8ahU739M,2163
61
- geo_activity_playground/webui/templates/locations.html.j2,sha256=uexZpLjd9bm3gt3YZQA2WTPlwln7TuOc6OkIOOfJ6ik,1060
62
- geo_activity_playground/webui/templates/page.html.j2,sha256=X0W_ti-0rhiCcmFPvSobX3PxsnezXBT01M51i4lHTro,6804
63
- geo_activity_playground/webui/templates/search.html.j2,sha256=1UGCQU49oQgSJUB1OJ2kgAOuFMPVp0XXAQtmUnffzBI,1066
64
- geo_activity_playground/webui/templates/square-planner.html.j2,sha256=aIB0ql5qW4HXfp0ENksYYOk9vTgBitwyHJX5W7bqkeY,6512
65
- geo_activity_playground/webui/templates/strava-connect.html.j2,sha256=vLMqTnTV-DZJ1FHRjpm4OMgbABMwZQvbs8Ru9baKeBg,1111
66
- geo_activity_playground/webui/templates/summary.html.j2,sha256=eEwcPOURJ-uT89jeJGZHq_5pSq56_fTC7z-j_m5nQiA,471
67
- geo_activity_playground/webui/templates/upload.html.j2,sha256=VOiUdxBJD6ueO7T-AnZjIjPs-vof9MnAX25qlN0TsWA,967
68
- geo_activity_playground/webui/tile_controller.py,sha256=PISh4vKs27b-LxFfTARtr5RAwHFresA1Kw1MDcERSRU,1221
69
- geo_activity_playground/webui/upload_controller.py,sha256=QvQp2uuVhWxG07ZpT4r_hl4cEBBlS9X8V3O5glpbiG8,3686
70
- geo_activity_playground-0.22.0.dist-info/LICENSE,sha256=4RpAwKO8bPkfXH2lnpeUW0eLkNWglyG4lbrLDU_MOwY,1070
71
- geo_activity_playground-0.22.0.dist-info/METADATA,sha256=4Vg5FqiZEA2kkKktTVpLbmC2lDo22A20RaKKZrcvpwY,1625
72
- geo_activity_playground-0.22.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
73
- geo_activity_playground-0.22.0.dist-info/entry_points.txt,sha256=pbNlLI6IIZIp7nPYCfAtiSiz2oxJSCl7DODD6SPkLKk,81
74
- geo_activity_playground-0.22.0.dist-info/RECORD,,