large-image-source-pil 1.33.6.dev21__tar.gz → 1.33.6.dev25__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.
- {large_image_source_pil-1.33.6.dev21 → large_image_source_pil-1.33.6.dev25}/PKG-INFO +4 -5
- {large_image_source_pil-1.33.6.dev21 → large_image_source_pil-1.33.6.dev25}/large_image_source_pil/__init__.py +7 -20
- {large_image_source_pil-1.33.6.dev21 → large_image_source_pil-1.33.6.dev25}/large_image_source_pil.egg-info/PKG-INFO +4 -5
- {large_image_source_pil-1.33.6.dev21 → large_image_source_pil-1.33.6.dev25}/large_image_source_pil.egg-info/requires.txt +2 -2
- {large_image_source_pil-1.33.6.dev21 → large_image_source_pil-1.33.6.dev25}/setup.py +1 -2
- {large_image_source_pil-1.33.6.dev21 → large_image_source_pil-1.33.6.dev25}/LICENSE +0 -0
- {large_image_source_pil-1.33.6.dev21 → large_image_source_pil-1.33.6.dev25}/README.rst +0 -0
- {large_image_source_pil-1.33.6.dev21 → large_image_source_pil-1.33.6.dev25}/large_image_source_pil/girder_source.py +0 -0
- {large_image_source_pil-1.33.6.dev21 → large_image_source_pil-1.33.6.dev25}/large_image_source_pil.egg-info/SOURCES.txt +0 -0
- {large_image_source_pil-1.33.6.dev21 → large_image_source_pil-1.33.6.dev25}/large_image_source_pil.egg-info/dependency_links.txt +0 -0
- {large_image_source_pil-1.33.6.dev21 → large_image_source_pil-1.33.6.dev25}/large_image_source_pil.egg-info/entry_points.txt +0 -0
- {large_image_source_pil-1.33.6.dev21 → large_image_source_pil-1.33.6.dev25}/large_image_source_pil.egg-info/top_level.txt +0 -0
- {large_image_source_pil-1.33.6.dev21 → large_image_source_pil-1.33.6.dev25}/pyproject.toml +0 -0
- {large_image_source_pil-1.33.6.dev21 → large_image_source_pil-1.33.6.dev25}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: large-image-source-pil
|
|
3
|
-
Version: 1.33.6.
|
|
3
|
+
Version: 1.33.6.dev25
|
|
4
4
|
Summary: A Pillow tilesource for large_image.
|
|
5
5
|
Home-page: https://github.com/girder/large_image
|
|
6
6
|
Author: Kitware, Inc.
|
|
@@ -9,16 +9,15 @@ License: Apache-2.0
|
|
|
9
9
|
Keywords: large_image,tile source
|
|
10
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
-
Requires-Python: >=3.
|
|
17
|
+
Requires-Python: >=3.10
|
|
19
18
|
Description-Content-Type: text/x-rst
|
|
20
19
|
License-File: LICENSE
|
|
21
|
-
Requires-Dist: large-image>=1.33.6.
|
|
20
|
+
Requires-Dist: large-image>=1.33.6.dev25
|
|
22
21
|
Provides-Extra: all
|
|
23
22
|
Requires-Dist: rawpy; python_version < "3.14" and extra == "all"
|
|
24
23
|
Requires-Dist: pillow-heif; extra == "all"
|
|
@@ -29,7 +28,7 @@ Requires-Dist: rawpy; python_version < "3.14" and extra == "common"
|
|
|
29
28
|
Requires-Dist: pillow-heif; extra == "common"
|
|
30
29
|
Requires-Dist: pillow-jxl-plugin; extra == "common"
|
|
31
30
|
Provides-Extra: girder
|
|
32
|
-
Requires-Dist: girder-large-image>=1.33.6.
|
|
31
|
+
Requires-Dist: girder-large-image>=1.33.6.dev25; extra == "girder"
|
|
33
32
|
Dynamic: author
|
|
34
33
|
Dynamic: author-email
|
|
35
34
|
Dynamic: classifier
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
#############################################################################
|
|
16
16
|
|
|
17
17
|
import contextlib
|
|
18
|
+
import importlib.metadata
|
|
18
19
|
import json
|
|
19
20
|
import math
|
|
20
21
|
import os
|
|
@@ -39,23 +40,13 @@ try:
|
|
|
39
40
|
register_avif_opener()
|
|
40
41
|
except Exception:
|
|
41
42
|
pass
|
|
42
|
-
|
|
43
|
+
with contextlib.suppress(Exception):
|
|
43
44
|
import pillow_jxl # noqa
|
|
44
|
-
|
|
45
|
-
pass
|
|
46
|
-
try:
|
|
45
|
+
with contextlib.suppress(Exception):
|
|
47
46
|
import pillow_jpls # noqa
|
|
48
|
-
except Exception:
|
|
49
|
-
pass
|
|
50
47
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
try:
|
|
55
|
-
__version__ = _importlib_version(__name__)
|
|
56
|
-
except PackageNotFoundError:
|
|
57
|
-
# package is not installed
|
|
58
|
-
pass
|
|
48
|
+
with contextlib.suppress(importlib.metadata.PackageNotFoundError):
|
|
49
|
+
__version__ = importlib.metadata.version(__name__)
|
|
59
50
|
|
|
60
51
|
warnings.filterwarnings('ignore', category=UserWarning, module='.*PIL.*')
|
|
61
52
|
|
|
@@ -293,10 +284,8 @@ class PILFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
|
|
|
293
284
|
"""
|
|
294
285
|
results = {'pil': {}}
|
|
295
286
|
for key in ('format', 'mode', 'size', 'width', 'height', 'palette', 'info'):
|
|
296
|
-
|
|
287
|
+
with contextlib.suppress(Exception):
|
|
297
288
|
results['pil'][key] = getattr(self._pilImage, key)
|
|
298
|
-
except Exception:
|
|
299
|
-
pass
|
|
300
289
|
return results
|
|
301
290
|
|
|
302
291
|
@methodcache()
|
|
@@ -307,10 +296,8 @@ class PILFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
|
|
|
307
296
|
if frame != 0:
|
|
308
297
|
with self._tileLock:
|
|
309
298
|
self._frameImage.seek(self._frames[frame])
|
|
310
|
-
|
|
299
|
+
with contextlib.suppress(Exception):
|
|
311
300
|
img = self._frameImage.copy()
|
|
312
|
-
except Exception:
|
|
313
|
-
pass
|
|
314
301
|
self._frameImage.seek(0)
|
|
315
302
|
img.load()
|
|
316
303
|
if self._factor:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: large-image-source-pil
|
|
3
|
-
Version: 1.33.6.
|
|
3
|
+
Version: 1.33.6.dev25
|
|
4
4
|
Summary: A Pillow tilesource for large_image.
|
|
5
5
|
Home-page: https://github.com/girder/large_image
|
|
6
6
|
Author: Kitware, Inc.
|
|
@@ -9,16 +9,15 @@ License: Apache-2.0
|
|
|
9
9
|
Keywords: large_image,tile source
|
|
10
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
-
Requires-Python: >=3.
|
|
17
|
+
Requires-Python: >=3.10
|
|
19
18
|
Description-Content-Type: text/x-rst
|
|
20
19
|
License-File: LICENSE
|
|
21
|
-
Requires-Dist: large-image>=1.33.6.
|
|
20
|
+
Requires-Dist: large-image>=1.33.6.dev25
|
|
22
21
|
Provides-Extra: all
|
|
23
22
|
Requires-Dist: rawpy; python_version < "3.14" and extra == "all"
|
|
24
23
|
Requires-Dist: pillow-heif; extra == "all"
|
|
@@ -29,7 +28,7 @@ Requires-Dist: rawpy; python_version < "3.14" and extra == "common"
|
|
|
29
28
|
Requires-Dist: pillow-heif; extra == "common"
|
|
30
29
|
Requires-Dist: pillow-jxl-plugin; extra == "common"
|
|
31
30
|
Provides-Extra: girder
|
|
32
|
-
Requires-Dist: girder-large-image>=1.33.6.
|
|
31
|
+
Requires-Dist: girder-large-image>=1.33.6.dev25; extra == "girder"
|
|
33
32
|
Dynamic: author
|
|
34
33
|
Dynamic: author-email
|
|
35
34
|
Dynamic: classifier
|
|
@@ -25,14 +25,13 @@ setup(
|
|
|
25
25
|
classifiers=[
|
|
26
26
|
'Development Status :: 5 - Production/Stable',
|
|
27
27
|
'Programming Language :: Python :: 3',
|
|
28
|
-
'Programming Language :: Python :: 3.9',
|
|
29
28
|
'Programming Language :: Python :: 3.10',
|
|
30
29
|
'Programming Language :: Python :: 3.11',
|
|
31
30
|
'Programming Language :: Python :: 3.12',
|
|
32
31
|
'Programming Language :: Python :: 3.13',
|
|
33
32
|
'Programming Language :: Python :: 3.14',
|
|
34
33
|
],
|
|
35
|
-
python_requires='>=3.
|
|
34
|
+
python_requires='>=3.10',
|
|
36
35
|
install_requires=[
|
|
37
36
|
f'large-image{limit_version}',
|
|
38
37
|
],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|