shinywidgets

April 10, 2026 ยท View on GitHub

Render ipywidgets inside a Shiny (for Python) app.

See the Jupyter Widgets article on the Shiny for Python website for more details.

Installation

pip install shinywidgets

Development

If you want to do development on {shinywidgets}, run:

uv sync --all-groups
uv run pre-commit install
uv run playwright install chromium
cd js && yarn watch

If you need the older editable-install flow for tooling compatibility, this also works:

pip install -e ".[dev]"

Common Python workflows:

make py-check
make test-playwright
make py-build