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. Optionally, pre-install the itkwidgets wheel and its dependency. In the Pyodide notebook,
import piplite
piplite.install("itkwidgets==1.0a23")Here we are installing the specific pre-release version pre-installed. See also the JupyterLite configuration used for this documentation and 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 notebookIf 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 labIf you'd rather interact with remotely hosted notebooks in JupyterLab you can
also open them in Binder:
