Metadata-Version: 2.4
Name: sdjs
Version: 0.2.0
Summary: Serve local SpatialData stores and browse them in the SpatialData.js viewer
Author: SpatialData.js contributors
License: MIT
Project-URL: Homepage, https://github.com/Taylor-CCB-Group/SpatialData.js
Project-URL: Repository, https://github.com/Taylor-CCB-Group/SpatialData.js
Keywords: spatialdata,zarr,ome-zarr,viewer,spatial-omics
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# sdjs

Serve local [SpatialData](https://spatialdata.scverse.org/) stores and browse them in the
[SpatialData.js](https://github.com/Taylor-CCB-Group/SpatialData.js) viewer.

```bash
uvx sdjs serve ~/data
```

Finds every `*.zarr` and `*.zarr.zip` under the directory (nested, stopping at each
store), serves them on loopback, and opens the viewer with a picker over them. Pass a
single store to serve just that one.

Store URLs carry a random token, because the server sends `Access-Control-Allow-Origin: *`
so that other viewers can read it too. Use them as you would a password. `--no-token`
serves at a fixed `/stores/` path instead. The catalog is at `<prefix>/catalog.json`
and each store's files are under `<prefix>/data/<path>`.

The same command ships on npm as `@spatialdata/cli`.
