valetudo-map-parser 0.1.10b8__py3-none-any.whl → 0.1.10b9__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.
- valetudo_map_parser/hypfer_handler.py +3 -3
- valetudo_map_parser/rand256_handler.py +3 -3
- {valetudo_map_parser-0.1.10b8.dist-info → valetudo_map_parser-0.1.10b9.dist-info}/METADATA +3 -3
- {valetudo_map_parser-0.1.10b8.dist-info → valetudo_map_parser-0.1.10b9.dist-info}/RECORD +7 -7
- {valetudo_map_parser-0.1.10b8.dist-info → valetudo_map_parser-0.1.10b9.dist-info}/WHEEL +0 -0
- {valetudo_map_parser-0.1.10b8.dist-info → valetudo_map_parser-0.1.10b9.dist-info}/licenses/LICENSE +0 -0
- {valetudo_map_parser-0.1.10b8.dist-info → valetudo_map_parser-0.1.10b9.dist-info}/licenses/NOTICE.txt +0 -0
@@ -14,8 +14,8 @@ from PIL import Image
|
|
14
14
|
|
15
15
|
from .config.async_utils import AsyncNumPy, AsyncPIL
|
16
16
|
|
17
|
-
from .config.auto_crop import AutoCrop
|
18
|
-
|
17
|
+
# from .config.auto_crop import AutoCrop
|
18
|
+
from mvcrender.autocrop import AutoCrop
|
19
19
|
from .config.drawable_elements import DrawableElement
|
20
20
|
from .config.shared import CameraShared
|
21
21
|
from .config.utils import pil_to_webp_bytes
|
@@ -368,7 +368,7 @@ class HypferMapImageHandler(BaseHandler, AutoCrop):
|
|
368
368
|
self.zooming = self.imd.img_h.zooming
|
369
369
|
|
370
370
|
# Resize the image
|
371
|
-
img_np_array =
|
371
|
+
img_np_array = self.async_auto_trim_and_zoom_image(
|
372
372
|
img_np_array,
|
373
373
|
colors["background"],
|
374
374
|
int(self.shared.margins),
|
@@ -15,8 +15,8 @@ import numpy as np
|
|
15
15
|
|
16
16
|
from .config.async_utils import AsyncNumPy, AsyncPIL
|
17
17
|
|
18
|
-
from .config.auto_crop import AutoCrop
|
19
|
-
|
18
|
+
# from .config.auto_crop import AutoCrop
|
19
|
+
from mvcrender.autocrop import AutoCrop
|
20
20
|
from .config.drawable_elements import DrawableElement
|
21
21
|
from .config.types import (
|
22
22
|
COLORS,
|
@@ -362,7 +362,7 @@ class ReImageHandler(BaseHandler, AutoCrop):
|
|
362
362
|
else:
|
363
363
|
self.zooming = False
|
364
364
|
|
365
|
-
img_np_array =
|
365
|
+
img_np_array = self.async_auto_trim_and_zoom_image(
|
366
366
|
img_np_array,
|
367
367
|
detect_colour=colors["background"],
|
368
368
|
margin_size=int(self.shared.margins),
|
@@ -1,19 +1,19 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: valetudo-map-parser
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.10b9
|
4
4
|
Summary: A Python library to parse Valetudo map data returning a PIL Image object.
|
5
5
|
License: Apache-2.0
|
6
6
|
License-File: LICENSE
|
7
7
|
License-File: NOTICE.txt
|
8
8
|
Author: Sandro Cantarella
|
9
9
|
Author-email: gsca075@gmail.com
|
10
|
-
Requires-Python: >=3.
|
10
|
+
Requires-Python: >=3.13
|
11
11
|
Classifier: License :: OSI Approved :: Apache Software License
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
13
|
-
Classifier: Programming Language :: Python :: 3.12
|
14
13
|
Classifier: Programming Language :: Python :: 3.13
|
15
14
|
Classifier: Programming Language :: Python :: 3.14
|
16
15
|
Requires-Dist: Pillow (>=10.3.0)
|
16
|
+
Requires-Dist: mvcrender (==0.0.2)
|
17
17
|
Requires-Dist: numpy (>=1.26.4)
|
18
18
|
Requires-Dist: scipy (>=1.12.0)
|
19
19
|
Project-URL: Bug Tracker, https://github.com/sca075/Python-package-valetudo-map-parser/issues
|
@@ -22,15 +22,15 @@ valetudo_map_parser/config/status_text/translations.py,sha256=mmPbJkl_2A59w49wne
|
|
22
22
|
valetudo_map_parser/config/types.py,sha256=lxk9NE3qcgVins6MdOXmIz0fKlO3TIeHWtP--34Srtg,17303
|
23
23
|
valetudo_map_parser/config/utils.py,sha256=ZMKB1Nh6RhDlWU_U5WC-9D0XXkh4n7K5OsZBMVU2OFE,34520
|
24
24
|
valetudo_map_parser/hypfer_draw.py,sha256=jui31k0hh7G0z2OV7pvpes4uXH6x-BHjJW83icdBlF4,25313
|
25
|
-
valetudo_map_parser/hypfer_handler.py,sha256=
|
25
|
+
valetudo_map_parser/hypfer_handler.py,sha256=Q51Uqi9lCvS8dP30VsEi_Enz8eZabA3C9V1-3h1QhVM,23079
|
26
26
|
valetudo_map_parser/hypfer_rooms_handler.py,sha256=NkpOA6Gdq-2D3lLAxvtNuuWMvPXHxeMY2TO5RZLSHlU,22652
|
27
27
|
valetudo_map_parser/map_data.py,sha256=gVW_QhUcz-fZOM1ltSynTxZRHgu7yGjvZp8zUfd0ClA,27253
|
28
28
|
valetudo_map_parser/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
29
|
-
valetudo_map_parser/rand256_handler.py,sha256=
|
29
|
+
valetudo_map_parser/rand256_handler.py,sha256=6zea23fBc_5qfo1Vbt4MzuMS5ChE5IwDrWwzOqpSqH0,25249
|
30
30
|
valetudo_map_parser/reimg_draw.py,sha256=a93UPwcVl5y9mXMY5DsNWD4_pXzm1QhC_n_WOokhEAE,12534
|
31
31
|
valetudo_map_parser/rooms_handler.py,sha256=tE8BrXcdL0SeFAYsdFvjR3NVDfDi2RPKnXw9jD1e5k8,17494
|
32
|
-
valetudo_map_parser-0.1.
|
33
|
-
valetudo_map_parser-0.1.
|
34
|
-
valetudo_map_parser-0.1.
|
35
|
-
valetudo_map_parser-0.1.
|
36
|
-
valetudo_map_parser-0.1.
|
32
|
+
valetudo_map_parser-0.1.10b9.dist-info/METADATA,sha256=CEOH0cpWSpA8mnPja0IsZhtxfta5R9Se0Mo9MGrl26Q,3403
|
33
|
+
valetudo_map_parser-0.1.10b9.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
34
|
+
valetudo_map_parser-0.1.10b9.dist-info/licenses/LICENSE,sha256=Lh-qBbuRV0-jiCIBhfV7NgdwFxQFOXH3BKOzK865hRs,10480
|
35
|
+
valetudo_map_parser-0.1.10b9.dist-info/licenses/NOTICE.txt,sha256=5lTOuWiU9aiEnJ2go8sc7lTJ7ntMBx0g0GFnNrswCY4,2533
|
36
|
+
valetudo_map_parser-0.1.10b9.dist-info/RECORD,,
|
File without changes
|
{valetudo_map_parser-0.1.10b8.dist-info → valetudo_map_parser-0.1.10b9.dist-info}/licenses/LICENSE
RENAMED
File without changes
|
File without changes
|