pip install ipygalleryor with uv:
uv add ipygalleryWe recommend using uv for development. It will automatically manage virtual environments and dependencies for you.
uv run jupyter lab example.ipynbAlternatively, create and manage your own virtual environment:
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
jupyter lab example.ipynbThe widget front-end code bundles it's JavaScript dependencies. After setting up Python, make sure to install these dependencies locally:
npm installWhile developing, you can run the following in a separate terminal to automatically rebuild JavaScript as you make changes:
npm run devOpen example.ipynb in JupyterLab, VS Code, or your favorite editor
to start developing. Changes made in js/ will be reflected
in the notebook.