supervisely 6.73.342__py3-none-any.whl → 6.73.343__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.
- supervisely/convert/image/image_helper.py +2 -2
- {supervisely-6.73.342.dist-info → supervisely-6.73.343.dist-info}/METADATA +1 -1
- {supervisely-6.73.342.dist-info → supervisely-6.73.343.dist-info}/RECORD +7 -7
- {supervisely-6.73.342.dist-info → supervisely-6.73.343.dist-info}/LICENSE +0 -0
- {supervisely-6.73.342.dist-info → supervisely-6.73.343.dist-info}/WHEEL +0 -0
- {supervisely-6.73.342.dist-info → supervisely-6.73.343.dist-info}/entry_points.txt +0 -0
- {supervisely-6.73.342.dist-info → supervisely-6.73.343.dist-info}/top_level.txt +0 -0
|
@@ -48,8 +48,8 @@ def validate_mimetypes(name: str, path: str) -> list:
|
|
|
48
48
|
mimetypes.add_type("image/webp", ".webp") # to extend types_map
|
|
49
49
|
mimetypes.add_type("image/jpeg", ".jfif") # to extend types_map
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
with open(path, "rb") as f:
|
|
52
|
+
mimetype = magic.from_buffer(f.read(), mime=True)
|
|
53
53
|
file_ext = get_file_ext(path).lower()
|
|
54
54
|
if file_ext in mimetypes.guess_all_extensions(mimetype):
|
|
55
55
|
return name
|
|
@@ -569,7 +569,7 @@ supervisely/convert/base_converter.py,sha256=O2SP4I_Hd0aSn8kbOUocy8orkc_-iD-TQ-z
|
|
|
569
569
|
supervisely/convert/converter.py,sha256=ymhjzy75bhtpOTJSB7Xfq5tcfZjK_DMxJXIa_uuEitA,10668
|
|
570
570
|
supervisely/convert/image/__init__.py,sha256=JEuyaBiiyiYmEUYqdn8Mog5FVXpz0H1zFubKkOOm73I,1395
|
|
571
571
|
supervisely/convert/image/image_converter.py,sha256=8vak8ZoKTN1ye2ZmCTvCZ605-Rw1AFLIEo7bJMfnR68,10426
|
|
572
|
-
supervisely/convert/image/image_helper.py,sha256=
|
|
572
|
+
supervisely/convert/image/image_helper.py,sha256=j1HqgmCiUIOBft43OkdPSOxQD8aB7zWXPmOXNvzP6j4,3697
|
|
573
573
|
supervisely/convert/image/cityscapes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
574
574
|
supervisely/convert/image/cityscapes/cityscapes_converter.py,sha256=tnelQJHvGz_IGMXWe-EKWAkBhexRzmkv_0Kln5sN12E,8100
|
|
575
575
|
supervisely/convert/image/cityscapes/cityscapes_helper.py,sha256=in5nR7__q_u5dCkVtZmynfZ_ZuvsIAHrTzyTG4EvNgU,2988
|
|
@@ -1082,9 +1082,9 @@ supervisely/worker_proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
1082
1082
|
supervisely/worker_proto/worker_api_pb2.py,sha256=VQfi5JRBHs2pFCK1snec3JECgGnua3Xjqw_-b3aFxuM,59142
|
|
1083
1083
|
supervisely/worker_proto/worker_api_pb2_grpc.py,sha256=3BwQXOaP9qpdi0Dt9EKG--Lm8KGN0C5AgmUfRv77_Jk,28940
|
|
1084
1084
|
supervisely_lib/__init__.py,sha256=7-3QnN8Zf0wj8NCr2oJmqoQWMKKPKTECvjH9pd2S5vY,159
|
|
1085
|
-
supervisely-6.73.
|
|
1086
|
-
supervisely-6.73.
|
|
1087
|
-
supervisely-6.73.
|
|
1088
|
-
supervisely-6.73.
|
|
1089
|
-
supervisely-6.73.
|
|
1090
|
-
supervisely-6.73.
|
|
1085
|
+
supervisely-6.73.343.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
1086
|
+
supervisely-6.73.343.dist-info/METADATA,sha256=w-dMMUc_5PvLFYE4_fw-EfLndQ7kf7Or85jE9JSf2yM,33596
|
|
1087
|
+
supervisely-6.73.343.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
1088
|
+
supervisely-6.73.343.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
|
|
1089
|
+
supervisely-6.73.343.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
|
|
1090
|
+
supervisely-6.73.343.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|