geo-activity-playground 1.12.0__py3-none-any.whl → 1.12.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/activities.py +5 -1
- geo_activity_playground/webui/blueprints/activity_blueprint.py +1 -1
- {geo_activity_playground-1.12.0.dist-info → geo_activity_playground-1.12.1.dist-info}/METADATA +2 -4
- {geo_activity_playground-1.12.0.dist-info → geo_activity_playground-1.12.1.dist-info}/RECORD +7 -7
- {geo_activity_playground-1.12.0.dist-info → geo_activity_playground-1.12.1.dist-info}/LICENSE +0 -0
- {geo_activity_playground-1.12.0.dist-info → geo_activity_playground-1.12.1.dist-info}/WHEEL +0 -0
- {geo_activity_playground-1.12.0.dist-info → geo_activity_playground-1.12.1.dist-info}/entry_points.txt +0 -0
|
@@ -133,4 +133,8 @@ def _make_value_clamp(values: pd.Series) -> tuple[float, float, Callable]:
|
|
|
133
133
|
max(values_without_na),
|
|
134
134
|
np.median(values_without_na) + 1.5 * inter_quartile_range(values_without_na),
|
|
135
135
|
)
|
|
136
|
-
return
|
|
136
|
+
return (
|
|
137
|
+
low,
|
|
138
|
+
high,
|
|
139
|
+
lambda value: min(max((value - low) / (high - low + 1e-20), 0.0), 1.0),
|
|
140
|
+
)
|
|
@@ -445,7 +445,7 @@ def make_activity_blueprint(
|
|
|
445
445
|
def download_original(id: int) -> ResponseReturnValue:
|
|
446
446
|
activity = DB.session.get_one(Activity, id)
|
|
447
447
|
path = pathlib.Path(activity.path)
|
|
448
|
-
with open(path) as f:
|
|
448
|
+
with open(path, "rb") as f:
|
|
449
449
|
return Response(
|
|
450
450
|
f.read(),
|
|
451
451
|
mimetype="application/octet-stream",
|
{geo_activity_playground-1.12.0.dist-info → geo_activity_playground-1.12.1.dist-info}/METADATA
RENAMED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: geo-activity-playground
|
|
3
|
-
Version: 1.12.
|
|
3
|
+
Version: 1.12.1
|
|
4
4
|
Summary: Analysis of geo data activities like rides, runs or hikes.
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Martin Ueding
|
|
7
7
|
Author-email: mu@martin-ueding.de
|
|
8
|
-
Requires-Python: >=3.
|
|
8
|
+
Requires-Python: >=3.12,<3.15
|
|
9
9
|
Classifier: License :: OSI Approved :: MIT License
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
13
11
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
12
|
Classifier: Programming Language :: Python :: 3.13
|
|
15
13
|
Requires-Dist: Pillow (>=11.0.0,<12.0.0)
|
{geo_activity_playground-1.12.0.dist-info → geo_activity_playground-1.12.1.dist-info}/RECORD
RENAMED
|
@@ -18,7 +18,7 @@ geo_activity_playground/alembic/versions/e02e27876deb_add_square_planner_bookmar
|
|
|
18
18
|
geo_activity_playground/alembic/versions/f2f50843be2d_make_all_fields_in_activity_nullable.py,sha256=b0GnskwsjyyftveEDD8Kaff8Vk1gZjikZPrkAW9AbHY,1321
|
|
19
19
|
geo_activity_playground/alembic/versions/script.py.mako,sha256=3qBrHBf7F7ChKDUIdiNItiSXrDpgQdM7sR0YKzpaC50,689
|
|
20
20
|
geo_activity_playground/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
|
-
geo_activity_playground/core/activities.py,sha256
|
|
21
|
+
geo_activity_playground/core/activities.py,sha256=AY_W-ujijl50zL2Y4me2A1FDCCk7z-Ri5j9-XLEM6Bw,4731
|
|
22
22
|
geo_activity_playground/core/config.py,sha256=sLC9OLpvOjjOuyhhw1tS-KjHiUuZJp3BNkprR9YB3Wc,5573
|
|
23
23
|
geo_activity_playground/core/coordinates.py,sha256=rW_OmMRpTUyIsQwrT6mgT9Y6uPGuwqTo5XDDMS7mGuo,1140
|
|
24
24
|
geo_activity_playground/core/copernicus_dem.py,sha256=t6Bc9fsyGyx1awdePXvlN-Zc-tiT2eGSJ80SV5B1Z9A,2944
|
|
@@ -65,7 +65,7 @@ geo_activity_playground/webui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
|
|
|
65
65
|
geo_activity_playground/webui/app.py,sha256=Z1P0Asfr3R-NVuAAzrinE4HRwv4tkOErooILvC2biRI,11107
|
|
66
66
|
geo_activity_playground/webui/authenticator.py,sha256=dhREYOu_TCD_nzFNuSlHIbf5K6TmwKdXtr1wxD8fBcc,1491
|
|
67
67
|
geo_activity_playground/webui/blueprints/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
68
|
-
geo_activity_playground/webui/blueprints/activity_blueprint.py,sha256=
|
|
68
|
+
geo_activity_playground/webui/blueprints/activity_blueprint.py,sha256=8le7DZxWAwviDqf8OhaQDcagdfn8LQi88T0hAMqM5f8,26819
|
|
69
69
|
geo_activity_playground/webui/blueprints/auth_blueprint.py,sha256=iCm3hZphQKR9qFgytOrfnSmr-Og1gHuQ1Djiv2o_bkE,1031
|
|
70
70
|
geo_activity_playground/webui/blueprints/bubble_chart_blueprint.py,sha256=Hgp1WLn_6rv4no1erqOWMl3ToZOGHsAwA5BUFw0aZLU,2892
|
|
71
71
|
geo_activity_playground/webui/blueprints/calendar_blueprint.py,sha256=rJTJGKn68ED71vu5w7xXjHNfiABXeOHOcxphYsmo3aI,2951
|
|
@@ -178,8 +178,8 @@ geo_activity_playground/webui/templates/summary/vega-chart.html.j2,sha256=mw8Hti
|
|
|
178
178
|
geo_activity_playground/webui/templates/time_zone_fixer/index.html.j2,sha256=s9r6BJMXmd7kLSyjkvH4xLi6e01S5bpGRcMgMMJyCAE,1760
|
|
179
179
|
geo_activity_playground/webui/templates/upload/index.html.j2,sha256=5W2gpm4eSvidOyJOCSZZbvTZaTkSWNrOWux3-oIm0zI,784
|
|
180
180
|
geo_activity_playground/webui/templates/upload/reload.html.j2,sha256=YZWX5eDeNyqKJdQAywDBcU8DZBm22rRBbZqFjrFrCvQ,556
|
|
181
|
-
geo_activity_playground-1.12.
|
|
182
|
-
geo_activity_playground-1.12.
|
|
183
|
-
geo_activity_playground-1.12.
|
|
184
|
-
geo_activity_playground-1.12.
|
|
185
|
-
geo_activity_playground-1.12.
|
|
181
|
+
geo_activity_playground-1.12.1.dist-info/LICENSE,sha256=4RpAwKO8bPkfXH2lnpeUW0eLkNWglyG4lbrLDU_MOwY,1070
|
|
182
|
+
geo_activity_playground-1.12.1.dist-info/METADATA,sha256=RdjfYAtq2kJwJQdNCr-uPgyh0Q-J4yFAoUSLHQoZZ5o,1836
|
|
183
|
+
geo_activity_playground-1.12.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
184
|
+
geo_activity_playground-1.12.1.dist-info/entry_points.txt,sha256=pbNlLI6IIZIp7nPYCfAtiSiz2oxJSCl7DODD6SPkLKk,81
|
|
185
|
+
geo_activity_playground-1.12.1.dist-info/RECORD,,
|
{geo_activity_playground-1.12.0.dist-info → geo_activity_playground-1.12.1.dist-info}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|