JupyterLite is a JupyterLab distribution that runs entirely in the browser built from the ground-up using JupyterLab components and extensions.
To use itkwidgets in a JupyterLite deployment, install the imjoy-jupyterlab-extension JupyterLab 3 federated extension in the environment used to build JupyterLite. See also the JupyterLite configuration used for this documentation. Currently, this dask-image wheel should also be added to the pypi directory of the jupyterlite configuration.
In the Pyodide notebook,
import piplite
await piplite.install("itkwidgets==1.0a24")
See also the Sphinx / ReadTheDocs configuration used for this documentation.
Google Colab is a free-to-use hosted Jupyter notebook service that provides computing resources including GPUs and itkwidgets is now supported in Colab notebooks! You can get started with a demo notebook:
Or visit the welcome page to upload your own notebook or create one from scratch.
Notebooks can be uploaded from a repository, Google Drive, or your local machine.
To use itkwidgets locally first install Jupyter Notebook and start Jupyter:
pip install notebook
jupyter notebook
If you'd rather interact with remotely hosted notebooks you can also open them in Binder:
To use itkwidgets locally first install JupyterLab and start Jupyter:
pip install jupyterlab
jupyter lab
If you'd rather interact with remotely hosted notebooks in JupyterLab you can also open them in Binder: