$npx skillfedfor your agent

multiscale-spatial-image

Generate a multiscale, chunked, multi-dimensional spatial image data structure that can be serialized to OME-NGFF.

With conditionsPyPI Scientific/EngineeringReleased Nov 202595.6K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — multiscale_spatial_image-2.1.0-py3-none-any.whl
v2.1.0 · released 2025-11-13 · Python >=3.11 · 8 runtime deps: dask, ngff-zarr, numpy, python-dateutil, spatial-image, xarray-dataclass, xarray, zarr

Yes, if you work with multidimensional spatial imaging data and need to generate and store multiscale pyramids in a standard format. The package has low install friction, permissive licensing, and no known vulnerabilities. Maintenance is aging but not abandoned; the API is explicitly pre-1.0 and subject to change, so pin versions carefully in production. Best suited for scientific and research use cases rather than production services.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later; spatial-image dependency must be installed first to create the base spatial image object.
  • Low friction: pure Python wheel with no compiled dependencies.
  • Maintenance status is aging—274 days since last release—but the repository remains active with recent commits and no archived status.

License · maintenance · safety

permissive license (permissive) — Apache 2.0 permissive license allows commercial and derivative use with minimal restrictions; attribution and license notice required in distributions.

last release 2025-11-13 (274 days) · last repo commit 2025-11-13 · 57 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 95,614 downloads/mo, #13,260 on PyPI

Verify before relying

pip install multiscale_spatial_image

import numpy as np
from spatial_image import to_spatial_image
from multiscale_spatial_image import to_multiscale

array = np.random.randint(0, 256, size=(128, 128), dtype=np.uint8)
image = to_spatial_image(array)
multiscale = to_multiscale(image, [2, 4])
  • Performance characteristics and memory efficiency when handling very large image datasets
  • Supported downsampling methods beyond the examples shown (coarsen, resampling strategies)
  • Compatibility with specific OME-NGFF versions and zarr store configurations
Same gist for agents: .md · .json

What it is and what it does

multiscale-spatial-image builds multiscale image pyramids—progressively downsampled versions of an image—and organizes them into an Xarray Datatree structure where each scale level is a separate node. Each scale is a chunked Dask array, enabling lazy evaluation and out-of-core processing. The package preserves spatial metadata (coordinates, dimensions) across all scales and can serialize the entire pyramid to OME-NGFF (Open Microscopy Environment Next Generation File Format) via Zarr, making it suitable for scientific imaging workflows that need efficient storage and access to multiscale data.

The package is built on top of spatial-image, xarray, and Dask, and provides convenience methods like transpose, reindex, and assign_coords that operate across all scales while skipping non-dimensional nodes. It targets scientific Python users working with microscopy, medical imaging, or other multidimensional spatial data who need to generate and store image hierarchies in a standard, interoperable format.

Use it for

  • Generate multiscale pyramids from microscopy images for efficient zoom-and-pan visualization in web or desktop viewers
  • Prepare large volumetric datasets for hierarchical processing pipelines that operate at different resolutions
  • Convert single-scale images to OME-NGFF Zarr stores for archival and sharing with other imaging software
  • Apply transformations (transpose, reindex) uniformly across all scales of a multiscale dataset
  • Build image analysis workflows that downsample data for preview or coarse-to-fine processing strategies

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you work with multidimensional spatial imaging data and need to generate and store multiscale pyramids in a standard format.

The package has low install friction, permissive licensing, and no known vulnerabilities. Maintenance is aging but not abandoned; the API is explicitly pre-1.0 and subject to change, so pin versions carefully in production. Best suited for scientific and research use cases rather than production services.

Install

multiscale-spatial-image on PyPI

Before you install

Low friction: pure Python wheel with no compiled dependencies. Maintenance status is aging—274 days since last release—but the repository remains active with recent commits and no archived status.

Requires Python 3.11 or later; spatial-image dependency must be installed first to create the base spatial image object.

License in practice

Apache 2.0 permissive license allows commercial and derivative use with minimal restrictions; attribution and license notice required in distributions.

Quickstart

pip install multiscale_spatial_image

import numpy as np
from spatial_image import to_spatial_image
from multiscale_spatial_image import to_multiscale

array = np.random.randint(0, 256, size=(128, 128), dtype=np.uint8)
image = to_spatial_image(array)
multiscale = to_multiscale(image, [2, 4])

Verify before relying

  • Performance characteristics and memory efficiency when handling very large image datasets
  • Supported downsampling methods beyond the examples shown (coarsen, resampling strategies)
  • Compatibility with specific OME-NGFF versions and zarr store configurations

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
8 packages
daskngff-zarrnumpypython-dateutilspatial-imagexarray-dataclassxarrayzarr
MaintenanceAging 274 days since the last release
Last repo commit
First released
Downloads95,614 / month, #13,260 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13

Evidence: multiscale_spatial_image-2.1.0-py3-none-any.whl

Tags

Capabilities
multiscale image pyramid generationome-ngff zarr serializationxarray spatial image downsamplingdask chunked image processingmultiscale scientific imagingspatial metadata preservationimage coarsening and resampling
Topics
imagingmultiscale-pyramidsome-ngff
PyPI keywords
daskimagingitkngffomevisualizationzarr

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “multiscale image pyramid generation”

  • multiscale-spatial-imageGenerates multiscale image pyramids organized as Xarray Datatrees,…
  • corniceCornice provides decorators and utilities to build REST web services…
  • mgwrCalibrates multiscale and traditional geographically weighted…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also ome-zarr · spatial_image · tiled · spatialdata · odc-loader · xarray · tensorstore · xarray-dataclass · odc-stac