async-tiff 0.5.0b2__cp310-cp310-macosx_11_0_arm64.whl → 0.5.0b4__cp310-cp310-macosx_11_0_arm64.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.
- async_tiff/__init__.py +1 -2
- async_tiff/_async_tiff.cpython-310-darwin.so +0 -0
- async_tiff/_ifd.pyi +2 -3
- async_tiff/_input.py +6 -3
- async_tiff/_tiff.pyi +2 -5
- async_tiff/enums.py +1 -0
- {async_tiff-0.5.0b2.dist-info → async_tiff-0.5.0b4.dist-info}/METADATA +1 -1
- {async_tiff-0.5.0b2.dist-info → async_tiff-0.5.0b4.dist-info}/RECORD +9 -9
- {async_tiff-0.5.0b2.dist-info → async_tiff-0.5.0b4.dist-info}/WHEEL +0 -0
async_tiff/__init__.py
CHANGED
|
Binary file
|
async_tiff/_ifd.pyi
CHANGED
|
@@ -138,12 +138,11 @@ class ImageFileDirectory:
|
|
|
138
138
|
Returns:
|
|
139
139
|
Tile response.
|
|
140
140
|
"""
|
|
141
|
-
async def fetch_tiles(self,
|
|
141
|
+
async def fetch_tiles(self, xy: Sequence[tuple[int, int]]) -> list[Tile]:
|
|
142
142
|
"""Fetch multiple tiles concurrently.
|
|
143
143
|
|
|
144
144
|
Args:
|
|
145
|
-
|
|
146
|
-
y: The row indexes within the ifd to read from.
|
|
145
|
+
xy: The (column, row) indexes within the ifd to read from.
|
|
147
146
|
|
|
148
147
|
Returns:
|
|
149
148
|
Tile responses.
|
async_tiff/_input.py
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
from typing import Protocol
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
from obspec._get import GetRangeAsync, GetRangesAsync
|
|
3
|
+
from obspec import GetRangeAsync, GetRangesAsync
|
|
5
4
|
|
|
6
5
|
|
|
7
6
|
class ObspecInput(GetRangeAsync, GetRangesAsync, Protocol):
|
|
8
|
-
"""Supported obspec input to reader.
|
|
7
|
+
"""Supported obspec input to reader.
|
|
8
|
+
|
|
9
|
+
Anything that implements [GetRangeAsync][obspec.GetRangeAsync] and
|
|
10
|
+
[GetRangesAsync][obspec.GetRangesAsync] can be used as an input to the TIFF reader.
|
|
11
|
+
"""
|
async_tiff/_tiff.pyi
CHANGED
|
@@ -63,14 +63,11 @@ class TIFF:
|
|
|
63
63
|
Returns:
|
|
64
64
|
Tile response.
|
|
65
65
|
"""
|
|
66
|
-
async def fetch_tiles(
|
|
67
|
-
self, x: Sequence[int], y: Sequence[int], z: int
|
|
68
|
-
) -> list[Tile]:
|
|
66
|
+
async def fetch_tiles(self, xy: Sequence[tuple[int, int]], z: int) -> list[Tile]:
|
|
69
67
|
"""Fetch multiple tiles concurrently.
|
|
70
68
|
|
|
71
69
|
Args:
|
|
72
|
-
|
|
73
|
-
y: The row indexes within the ifd to read from.
|
|
70
|
+
xy: The (column, row) indexes within the ifd to read from.
|
|
74
71
|
z: The IFD index to read from.
|
|
75
72
|
|
|
76
73
|
Returns:
|
async_tiff/enums.py
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
async_tiff/__init__.py,sha256=
|
|
1
|
+
async_tiff/__init__.py,sha256=gdLgfl7BLntXTceX9JdojgOwy_8sH7-YuEuQedBr3o4,559
|
|
2
2
|
async_tiff/_array.pyi,sha256=muitV2BmObMPBF1O1mgo9a89posx7-ubsl4XftG5WO4,1257
|
|
3
|
-
async_tiff/_async_tiff.cpython-310-darwin.so,sha256=
|
|
3
|
+
async_tiff/_async_tiff.cpython-310-darwin.so,sha256=dd82Uy38oDZZ4yMURNiWE2NesTq0UgTM-zmtYDyTbqo,7960256
|
|
4
4
|
async_tiff/_async_tiff.pyi,sha256=I0Z9ey5GYZYfjJB4ZEyPUzHTsw0GcA5KBrAbTiThMc8,410
|
|
5
5
|
async_tiff/_colormap.pyi,sha256=NrXLqUq3U81bI0zG8OLgQwv_JM0YS-MrVgx-1nD6j3g,402
|
|
6
6
|
async_tiff/_decoder.pyi,sha256=tRHzZbZj1V6lDireFpNQ-f2h2tPFqh2ExYu4L6v0Cqc,709
|
|
7
7
|
async_tiff/_decoder_runtime.py,sha256=N2IC7XTgC1TmGmB7ZXCJbrVVSbn6G85cWgJ6k87XpT8,553
|
|
8
8
|
async_tiff/_geo.pyi,sha256=h71Y9zZ5vYxXaXAR4QAYmBJ0FOhLfXMMJA85p474eTE,3451
|
|
9
|
-
async_tiff/_ifd.pyi,sha256=
|
|
10
|
-
async_tiff/_input.py,sha256=
|
|
9
|
+
async_tiff/_ifd.pyi,sha256=zjU_fENQr8roZMyTFRJpClLzOpHJHHeNhO--iN0XwMA,4698
|
|
10
|
+
async_tiff/_input.py,sha256=CXgxr2kCxmKWQ3Ev3Jud6N5R1Vpl1r4YXpnr7485c8U,349
|
|
11
11
|
async_tiff/_thread_pool.pyi,sha256=fbDu9kbo8RNlq7bBBxuuu_6ub20L5cAfXBM-J7Y0PC8,181
|
|
12
|
-
async_tiff/_tiff.pyi,sha256
|
|
12
|
+
async_tiff/_tiff.pyi,sha256=-TSMH4-k6moaDE1zoXPDkzGF1xLfd_1DzYMzAcALVu0,2178
|
|
13
13
|
async_tiff/_tile.pyi,sha256=NBUciMH6nan6qQLt30p9msUiY4BKh4ZmW4r9CsqtYho,1961
|
|
14
|
-
async_tiff/enums.py,sha256=
|
|
14
|
+
async_tiff/enums.py,sha256=81S3s7eKtCgxuLxuI2pw5K_43S7I3wJ8m7LRpKAzj_I,1047
|
|
15
15
|
async_tiff/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
|
-
async_tiff-0.5.
|
|
17
|
-
async_tiff-0.5.
|
|
18
|
-
async_tiff-0.5.
|
|
16
|
+
async_tiff-0.5.0b4.dist-info/METADATA,sha256=HP-ILZqvAvK-1GAhkTTnzw1Qyq17dZfdJ1-lgpYiX8Q,2741
|
|
17
|
+
async_tiff-0.5.0b4.dist-info/WHEEL,sha256=lgXxQDOXaD3ZlhS7NozX7pozuWR_5xphTDPgxH3-aMg,105
|
|
18
|
+
async_tiff-0.5.0b4.dist-info/RECORD,,
|
|
File without changes
|