micro-reader 0.5.1__tar.gz → 0.5.2__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.
- {micro_reader-0.5.1 → micro_reader-0.5.2}/PKG-INFO +2 -2
- {micro_reader-0.5.1 → micro_reader-0.5.2}/pyproject.toml +2 -2
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_spatial.py +3 -3
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_version.py +1 -1
- {micro_reader-0.5.1 → micro_reader-0.5.2}/.gitignore +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/LICENSE +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/README.md +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/__init__.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_axes.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_base.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_cfb.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_codecs.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_engine.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_errors.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_eubi_guard.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_fileset.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_groups.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_index.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_io.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_jpeg_restarts.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_lambda.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_many.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_memory.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_metadata.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_mosaic.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_naming.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_outline.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_parts.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_plate.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_pool.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_registry.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_stack.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/_stream.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/__init__.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/_czi_metadata.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/_ets.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/_hdf5.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/_lif_metadata.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/_nd2_legacy.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/_nd2_metadata.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/_nd2_run.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/_nd2_structure.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/_tiff_metadata.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/_tiff_variants.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/_vsi_tree.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/bdv.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/cellomics.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/columbus.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/companion.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/cv7000.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/czi.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/dv.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/flex.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/harmony.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/hdf5.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/ics.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/ilastik.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/ims.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/incell.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/jdce.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/klb.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/lif.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/luxendo.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/metamorph.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/metaxpress.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/micromanager.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/mrc.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/nd2.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/ndpis.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/oif.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/oir.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/omp2info.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/raster.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/scanr.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/tiff.py +0 -0
- {micro_reader-0.5.1 → micro_reader-0.5.2}/src/micro_reader/backends/vsi.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: micro-reader
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: Low-level, memory-bounded pixel reading for microscopy formats: read exactly the rectangle you ask for.
|
|
5
5
|
Project-URL: Homepage, https://github.com/bugraoezdemir/micro-reader
|
|
6
6
|
Project-URL: Source, https://github.com/bugraoezdemir/micro-reader
|
|
@@ -18,7 +18,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.14
|
|
19
19
|
Classifier: Topic :: Scientific/Engineering :: Image Processing
|
|
20
20
|
Requires-Python: >=3.11
|
|
21
|
-
Requires-Dist: micro-reader-codecs<0.1,>=0.0.
|
|
21
|
+
Requires-Dist: micro-reader-codecs<0.1,>=0.0.6
|
|
22
22
|
Requires-Dist: micro-reader-core<0.1,>=0.0.1
|
|
23
23
|
Requires-Dist: numpy>=1.24
|
|
24
24
|
Requires-Dist: tifffile>=2025.5.21
|
|
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "micro-reader"
|
|
9
|
-
version = "0.5.
|
|
9
|
+
version = "0.5.2"
|
|
10
10
|
description = "Low-level, memory-bounded pixel reading for microscopy formats: read exactly the rectangle you ask for."
|
|
11
11
|
readme = "README.md"
|
|
12
12
|
requires-python = ">=3.11"
|
|
@@ -29,7 +29,7 @@ classifiers = [
|
|
|
29
29
|
# TIFF covers most microscopy images, so it is not an extra (Bugra,
|
|
30
30
|
# 2026-10-01) until micro-reader parses TIFF itself (post-0.0.1). The floor
|
|
31
31
|
# matches eubi-bridge's (tifffile>=2025.5.21), so both install together.
|
|
32
|
-
dependencies = ["numpy>=1.24", "micro-reader-codecs>=0.0.
|
|
32
|
+
dependencies = ["numpy>=1.24", "micro-reader-codecs>=0.0.6,<0.1", "micro-reader-core>=0.0.1,<0.1",
|
|
33
33
|
"tifffile>=2025.5.21"]
|
|
34
34
|
|
|
35
35
|
[project.urls]
|
|
@@ -233,12 +233,12 @@ def file_stem(path) -> str:
|
|
|
233
233
|
"""A file's name without its extension, the root name of ``File.collection``
|
|
234
234
|
(3.17; the rule ozp's ``tree_from_file`` uses, decided 2026-10-21, M1-2):
|
|
235
235
|
``xyz.czi`` -> ``xyz``, ``cells.ome.tif`` / ``cells.ome.zarr`` -> ``cells``,
|
|
236
|
-
``Index.idx.xml`` -> ``Index.idx
|
|
237
|
-
``.zarr``."""
|
|
236
|
+
``Index.idx.xml`` -> ``Index.idx``, an OME companion ``set.companion.ome`` ->
|
|
237
|
+
``set``; a folder keeps its whole name, except ``.zarr``."""
|
|
238
238
|
import os
|
|
239
239
|
path = str(path).rstrip("/\\")
|
|
240
240
|
base = os.path.basename(path)
|
|
241
|
-
for pattern in (r"\.ome\.[A-Za-z0-9]+$", r"\.zarr$"):
|
|
241
|
+
for pattern in (r"\.companion\.ome$", r"\.ome\.[A-Za-z0-9]+$", r"\.zarr$"):
|
|
242
242
|
stem = re.sub(pattern, "", base, flags=re.IGNORECASE)
|
|
243
243
|
if stem != base:
|
|
244
244
|
return stem or base
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""micro-reader's version, in one place (the package, the import guard)."""
|
|
2
|
-
__version__ = "0.5.
|
|
2
|
+
__version__ = "0.5.2"
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|