vitessce / vitessce-python

Python API and Jupyter widget for Vitessce
https://python-docs.vitessce.io
MIT License
40 stars 7 forks source link

Support a Vizarr-like API #391

Open keller-mark opened 5 days ago

keller-mark commented 5 days ago

See the Vizarr python API.

We should be able to build a wrapper around the existing VitessceConfig API and expose a more Vizarr-like (potentially drop-in alternative to Vizarr) https://github.com/hms-dbmi/vizarr?tab=readme-ov-file#2-python-api

- import vizarr
+ from vitessce import viewer_api as vizarr 
import zarr

store = zarr.open("./path/to/ome.zarr")
viewer = vizarr.Viewer()
viewer.add_image(store)
viewer

Tangentially related to https://github.com/vitessce/vitessce/issues/1975