Skip to main content

SpatialData banner

napari-spatialdata: interactive exploration and annotation of spatial omics data

License PyPI Python Version tests codecov pre-commit.ci status napari hub DOI Documentation Anaconda-Server Badge

This repository contains a napari plugin for interactively exploring and annotating SpatialData objects. Here you can find the napari-spatialdata documentation. napari-spatialdata is part of the SpatialData ecosystem. To learn more about SpatialData, please see the spatialdata documentation.

Installation

You can install napari-spatialdata via pip:

pip install napari-spatialdata[all]

The all extra also installs the Qt bindings PyQt6 (via napari[pyqt6]).

Napari now also includes multiple triangulation backends. These improve the speed by which a napari 'Shapes' layer gets loaded (this does not improve the speed of editing large numbers of shapes yet!). See also the napari documentation and already slightly older blog post. For installation via pip:

pip install napari-spatialdata[all, bermuda]

You can find more details on this in the installation instructions.

Using napari-spatialdata as default zarr reader

If you would like to use the plugin as the default zarr reader, in napari please go to File -> Preferences -> Plugins and follow the instructions under File extension readers.

Development Version

You can install napari-spatialdata from Github with:

pip install git+https://github.com/scverse/napari-spatialdata

Or, you can also install in editable mode after cloning the repo by:

git clone https://github.com/scverse/napari-spatialdata
cd napari-spatialdata
pip install -e .

Note: when performing an editable install of napari-spatialdata, spatialdata will be reinstalled from pip. So, if you previously also made an editable install of spatialdata, you need to re-run pip install -e . on the spatialdata repository. Please find more details on this in the installation instructions.

Getting started

To learn how to use the napari-spatialdata plugin, please see the documentation. To learn how to integrate napari-spatialdata into your analysis workflows, please see the SpatialData tutorials. In particular:

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the BSD-3 license, "napari-spatialdata" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Citation

Marconato, L., Palla, G., Yamauchi, K.A. et al. SpatialData: an open and universal data framework for spatial omics. Nat Methods (2024). https://doi.org/10.1038/s41592-024-02212-x

napari-spatialdata is part of the scverse® project (website, governance) and is fiscally sponsored by NumFOCUS. If you like scverse® and want to support our mission, please consider making a tax-deductible donation to help the project pay for developer time, professional services, travel, workshops, and a variety of other needs.

Metadata

Release files for napari-spatialdata 0.7.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for napari-spatialdata 0.7.3
File Size Uploaded Provenance Actions
napari_spatialdata-0.7.3.tar.gz 7.0 MB Without provenance Details for napari_spatialdata-0.7.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for napari-spatialdata 0.7.3
File Interpreter ABI Platform Actions
napari_spatialdata-0.7.3-py3-none-any.whl Python 3 none any Details for napari_spatialdata-0.7.3-py3-none-any.whl

Total release size: 7.1 MB

Release files / napari_spatialdata-0.7.3.tar.gz

Download URL napari_spatialdata-0.7.3.tar.gz
Size 7.0 MB
Tags Source
SHA-256 checksum
How to use checksums
c6e8a825ed1d5cbda01f4989681ca263d6dfdb1aab84c0760349a248063e30ff
BLAKE2b-256 checksum
How to use checksums
9f1d66b54d5cf60fff157757b68c6ca2736842a4ca73ea199591a1ecf196c7ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / napari_spatialdata-0.7.3-py3-none-any.whl

Download URL napari_spatialdata-0.7.3-py3-none-any.whl
Size 105.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7068d55acab970c74657584855cc0317f6fe677ed0172b3015cab89b8ebe58d
BLAKE2b-256 checksum
How to use checksums
01dd6fb5d0ae8d4bf0099a7a7ab997f78be0843e9c7a6bbe2f0a1a0a60b6323e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for napari-spatialdata 0.7.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.7.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page