geo-activity-playground 0.27.0__py3-none-any.whl → 0.27.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.
- geo_activity_playground/core/config.py +1 -1
- geo_activity_playground/importers/directory.py +1 -1
- geo_activity_playground/webui/templates/home.html.j2 +1 -1
- geo_activity_playground/webui/upload/controller.py +1 -1
- {geo_activity_playground-0.27.0.dist-info → geo_activity_playground-0.27.1.dist-info}/METADATA +1 -1
- {geo_activity_playground-0.27.0.dist-info → geo_activity_playground-0.27.1.dist-info}/RECORD +9 -9
- {geo_activity_playground-0.27.0.dist-info → geo_activity_playground-0.27.1.dist-info}/LICENSE +0 -0
- {geo_activity_playground-0.27.0.dist-info → geo_activity_playground-0.27.1.dist-info}/WHEEL +0 -0
- {geo_activity_playground-0.27.0.dist-info → geo_activity_playground-0.27.1.dist-info}/entry_points.txt +0 -0
@@ -29,7 +29,7 @@ class Config:
|
|
29
29
|
heart_rate_maximum: Optional[int] = None
|
30
30
|
kinds_without_achievements: list[str] = dataclasses.field(default_factory=list)
|
31
31
|
metadata_extraction_regexes: list[str] = dataclasses.field(default_factory=list)
|
32
|
-
num_processes: Optional[int] =
|
32
|
+
num_processes: Optional[int] = 1
|
33
33
|
privacy_zones: dict[str, list[list[float]]] = dataclasses.field(
|
34
34
|
default_factory=dict
|
35
35
|
)
|
@@ -61,7 +61,7 @@ def import_from_directory(
|
|
61
61
|
|
62
62
|
if num_processes == 1:
|
63
63
|
paths_with_errors = []
|
64
|
-
for path in tqdm(new_activity_paths, desc="Parse activity metadata"):
|
64
|
+
for path in tqdm(new_activity_paths, desc="Parse activity metadata (serially)"):
|
65
65
|
errors = _cache_single_file(path)
|
66
66
|
if errors:
|
67
67
|
paths_with_errors.append(errors)
|
@@ -66,7 +66,7 @@
|
|
66
66
|
{% endfor %}
|
67
67
|
{% else %}
|
68
68
|
<p>You don't have activities yet. Either put some files into a directory <tt>Activities</tt> or <a
|
69
|
-
href="{{ url_for('strava
|
69
|
+
href="{{ url_for('settings.strava') }}">set up Strava API</a>.</p>
|
70
70
|
{% endif %}
|
71
71
|
|
72
72
|
{% endblock %}
|
@@ -108,7 +108,7 @@ def scan_for_activities(
|
|
108
108
|
if pathlib.Path("Activities").exists():
|
109
109
|
import_from_directory(
|
110
110
|
config.metadata_extraction_regexes,
|
111
|
-
|
111
|
+
config.num_processes,
|
112
112
|
)
|
113
113
|
if pathlib.Path("Strava Export").exists():
|
114
114
|
import_from_strava_checkout()
|
{geo_activity_playground-0.27.0.dist-info → geo_activity_playground-0.27.1.dist-info}/RECORD
RENAMED
@@ -2,7 +2,7 @@ geo_activity_playground/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
|
|
2
2
|
geo_activity_playground/__main__.py,sha256=0feB3cw3-U9q0Dkrn5co76gTPpwGRWyfI5mfWNSZ_lU,4063
|
3
3
|
geo_activity_playground/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
geo_activity_playground/core/activities.py,sha256=Z81Itv3qrokxE1-YnPrDJ0QteyBZYjQYvTP-tHvR9j4,6606
|
5
|
-
geo_activity_playground/core/config.py,sha256=
|
5
|
+
geo_activity_playground/core/config.py,sha256=Ogv_nPJD3ihlgBDZsCv5XsWAUXIKKhzWR6cu-KMNMWU,4414
|
6
6
|
geo_activity_playground/core/coordinates.py,sha256=tDfr9mlXhK6E_MMIJ0vYWVCoH0Lq8uyuaqUgaa8i0jg,966
|
7
7
|
geo_activity_playground/core/enrichment.py,sha256=CwZhW-svgPAYbdx3n9kvKlTgcsiCaeuJfSRCC4JxX6g,7411
|
8
8
|
geo_activity_playground/core/heart_rate.py,sha256=IwMt58TpjOYqpAxtsj07zP2ttpN_J3GZeiv-qGhYyJc,1598
|
@@ -22,7 +22,7 @@ geo_activity_playground/explorer/video.py,sha256=ROAmV9shfJyqTgnXVD41KFORiwnRgVp
|
|
22
22
|
geo_activity_playground/importers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
23
23
|
geo_activity_playground/importers/activity_parsers.py,sha256=m2SpvGlTZ8F3gG6YB24_ZFrlOAbtqbfWi-GIYspeUco,10593
|
24
24
|
geo_activity_playground/importers/csv_parser.py,sha256=7x0U4MyKNCsVFnXU6US8FQ28X9PTIoQS8U_hzF5l4So,2147
|
25
|
-
geo_activity_playground/importers/directory.py,sha256=
|
25
|
+
geo_activity_playground/importers/directory.py,sha256=lJVSAZpq8NAIjVQuCiVxPSNt9m_rIY0yJlOOMB-ZTG0,5746
|
26
26
|
geo_activity_playground/importers/strava_api.py,sha256=pgWZp-cWOLkvlDE85lTiEKM8BCZYzOlAAdKoa2F7c6o,7780
|
27
27
|
geo_activity_playground/importers/strava_checkout.py,sha256=N-uGTkhBJMC7cPYjRRXHOSLwpK3wc6aaSrY2RQfSitA,9419
|
28
28
|
geo_activity_playground/importers/test_csv_parser.py,sha256=LXqva7GuSAfXYE2zZQrg-69lCtfy5MxLSq6BRwL_VyI,1191
|
@@ -89,7 +89,7 @@ geo_activity_playground/webui/summary/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
89
89
|
geo_activity_playground/webui/summary/blueprint.py,sha256=kzQ6MDOycQKfDcVoEUmL7HYHJA_gu8DlzVHwO37-_jA,514
|
90
90
|
geo_activity_playground/webui/summary/controller.py,sha256=ZOrwfrKjpc8hecUYImBvesKXZi06obfR1yhQkVTeWzw,8981
|
91
91
|
geo_activity_playground/webui/summary/templates/summary/index.html.j2,sha256=rsII1eMY-xNugh8A9SecnEcDZqkEOWYIfiHAGroQYuM,4442
|
92
|
-
geo_activity_playground/webui/templates/home.html.j2,sha256=
|
92
|
+
geo_activity_playground/webui/templates/home.html.j2,sha256=FjEwr9kt_3qu_evIHpa7F_oGAINN8W2Z1T_j56ugJ5c,2406
|
93
93
|
geo_activity_playground/webui/templates/page.html.j2,sha256=sqerdJLOIcgMtQy533kHPD9uVIxF3v6ItLQSjuoCqlI,9589
|
94
94
|
geo_activity_playground/webui/templates/search.html.j2,sha256=FvNRoDfUlSzXjM_tqZY_fDhuhUDgbPaY73q56gdvF1A,1130
|
95
95
|
geo_activity_playground/webui/tile/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -97,11 +97,11 @@ geo_activity_playground/webui/tile/blueprint.py,sha256=cK0o2Z3BrLycgF9zw0F8s9qF-
|
|
97
97
|
geo_activity_playground/webui/tile/controller.py,sha256=PISh4vKs27b-LxFfTARtr5RAwHFresA1Kw1MDcERSRU,1221
|
98
98
|
geo_activity_playground/webui/upload/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
99
99
|
geo_activity_playground/webui/upload/blueprint.py,sha256=qU6ZKOrhB8DA8GSbOECVu2fPKd2VtBFp0mEFzjJAgIA,1083
|
100
|
-
geo_activity_playground/webui/upload/controller.py,sha256=
|
100
|
+
geo_activity_playground/webui/upload/controller.py,sha256=8Xv9JMeTyPe6mhYiDBW_nv9W_Hp7yz4Cgv_lXbM_JfY,4271
|
101
101
|
geo_activity_playground/webui/upload/templates/upload/index.html.j2,sha256=hfXkEXaz_MkM46rU56423D6V6WtK-EAXPszSY-_-Tx8,1471
|
102
102
|
geo_activity_playground/webui/upload/templates/upload/reload.html.j2,sha256=YZWX5eDeNyqKJdQAywDBcU8DZBm22rRBbZqFjrFrCvQ,556
|
103
|
-
geo_activity_playground-0.27.
|
104
|
-
geo_activity_playground-0.27.
|
105
|
-
geo_activity_playground-0.27.
|
106
|
-
geo_activity_playground-0.27.
|
107
|
-
geo_activity_playground-0.27.
|
103
|
+
geo_activity_playground-0.27.1.dist-info/LICENSE,sha256=4RpAwKO8bPkfXH2lnpeUW0eLkNWglyG4lbrLDU_MOwY,1070
|
104
|
+
geo_activity_playground-0.27.1.dist-info/METADATA,sha256=Wm7WbQhD76zAw6Vf127jOm7ZeYPy0hllY9DZTKeh8oE,1665
|
105
|
+
geo_activity_playground-0.27.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
106
|
+
geo_activity_playground-0.27.1.dist-info/entry_points.txt,sha256=pbNlLI6IIZIp7nPYCfAtiSiz2oxJSCl7DODD6SPkLKk,81
|
107
|
+
geo_activity_playground-0.27.1.dist-info/RECORD,,
|
{geo_activity_playground-0.27.0.dist-info → geo_activity_playground-0.27.1.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|
File without changes
|