staticmap3 0.1.0__tar.gz → 0.2.0__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.
- {staticmap3-0.1.0 → staticmap3-0.2.0}/PKG-INFO +11 -10
- {staticmap3-0.1.0 → staticmap3-0.2.0}/pyproject.toml +9 -9
- {staticmap3-0.1.0 → staticmap3-0.2.0}/staticmap3/staticmap.py +4 -2
- {staticmap3-0.1.0 → staticmap3-0.2.0}/LICENSE.txt +0 -0
- {staticmap3-0.1.0 → staticmap3-0.2.0}/README.md +0 -0
- {staticmap3-0.1.0 → staticmap3-0.2.0}/staticmap3/__init__.py +0 -0
- {staticmap3-0.1.0 → staticmap3-0.2.0}/staticmap3/tests.py +0 -0
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: staticmap3
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: Fork of staticmap, a small, python-based library for creating map images with lines and markers.
|
|
5
5
|
License: Apache Software License
|
|
6
|
+
License-File: LICENSE.txt
|
|
6
7
|
Keywords: static,map,image,osm
|
|
7
8
|
Author: Christoph Lingg
|
|
8
9
|
Author-email: christoph@komoot.de
|
|
9
10
|
Maintainer: SamR1
|
|
10
|
-
Requires-Python: >=3.
|
|
11
|
+
Requires-Python: >=3.10
|
|
11
12
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
13
|
Classifier: Operating System :: POSIX :: Linux
|
|
13
14
|
Classifier: Programming Language :: Python :: 3
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
20
|
Provides-Extra: dev
|
|
20
21
|
Provides-Extra: filecache
|
|
21
|
-
Requires-Dist: cachecontrol
|
|
22
|
-
Requires-Dist: filelock
|
|
23
|
-
Requires-Dist: mypy (>=1.
|
|
24
|
-
Requires-Dist: pillow
|
|
25
|
-
Requires-Dist: requests
|
|
26
|
-
Requires-Dist: ruff (>=0.
|
|
22
|
+
Requires-Dist: cachecontrol
|
|
23
|
+
Requires-Dist: filelock ; extra == "filecache"
|
|
24
|
+
Requires-Dist: mypy (>=1.19.1) ; extra == "dev"
|
|
25
|
+
Requires-Dist: pillow
|
|
26
|
+
Requires-Dist: requests
|
|
27
|
+
Requires-Dist: ruff (>=0.15.5) ; extra == "dev"
|
|
27
28
|
Requires-Dist: types-requests ; extra == "dev"
|
|
28
29
|
Description-Content-Type: text/markdown
|
|
29
30
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "staticmap3"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.2.0"
|
|
4
4
|
description = "Fork of staticmap, a small, python-based library for creating map images with lines and markers."
|
|
5
5
|
authors = [
|
|
6
6
|
{name = "Christoph Lingg", email = "christoph@komoot.de"}
|
|
@@ -15,26 +15,26 @@ classifiers = [
|
|
|
15
15
|
"License :: OSI Approved :: Apache Software License",
|
|
16
16
|
"Operating System :: POSIX :: Linux",
|
|
17
17
|
"Programming Language :: Python :: 3",
|
|
18
|
-
"Programming Language :: Python :: 3.9",
|
|
19
18
|
"Programming Language :: Python :: 3.10",
|
|
20
19
|
"Programming Language :: Python :: 3.11",
|
|
21
20
|
"Programming Language :: Python :: 3.12",
|
|
22
21
|
"Programming Language :: Python :: 3.13",
|
|
22
|
+
"Programming Language :: Python :: 3.14",
|
|
23
23
|
]
|
|
24
24
|
|
|
25
|
-
requires-python = ">=3.
|
|
25
|
+
requires-python = ">=3.10"
|
|
26
26
|
|
|
27
27
|
dependencies = [
|
|
28
|
-
"cachecontrol
|
|
29
|
-
"pillow
|
|
30
|
-
"requests
|
|
28
|
+
"cachecontrol",
|
|
29
|
+
"pillow",
|
|
30
|
+
"requests"
|
|
31
31
|
]
|
|
32
32
|
|
|
33
33
|
[project.optional-dependencies]
|
|
34
|
-
filecache = ["filelock
|
|
34
|
+
filecache = ["filelock"]
|
|
35
35
|
dev = [
|
|
36
|
-
"mypy>=1.
|
|
37
|
-
"ruff>=0.
|
|
36
|
+
"mypy>=1.19.1",
|
|
37
|
+
"ruff>=0.15.5",
|
|
38
38
|
"types-requests"
|
|
39
39
|
]
|
|
40
40
|
|
|
@@ -463,13 +463,15 @@ class StaticMap:
|
|
|
463
463
|
for tile in tiles
|
|
464
464
|
]
|
|
465
465
|
|
|
466
|
-
for tile, future in zip(tiles, futures):
|
|
466
|
+
for tile, future in zip(tiles, futures, strict=True):
|
|
467
467
|
x, y, url = tile
|
|
468
468
|
|
|
469
469
|
try:
|
|
470
470
|
response_status_code, response_content = future.result()
|
|
471
471
|
except Exception:
|
|
472
|
-
|
|
472
|
+
logger.exception("request failed")
|
|
473
|
+
failed_tiles.append(tile)
|
|
474
|
+
continue
|
|
473
475
|
|
|
474
476
|
if response_status_code != 200:
|
|
475
477
|
logger.error(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|