Nate Rush   De Regid the Widget: Making Jupyter a Haven for Startups | JupyterCon 2023 @JupyterCon
Nate Rush   De Regid the Widget: Making Jupyter a Haven for Startups | JupyterCon 2023  @JupyterCon
Uploaded July 2023 | Updated December 2026, 3 hours ago
Becoming a Widget Author
Over the past 2.5 years, I’ve been building a spreadsheet extension for JupyterLab called Mito. This extension needs to share state between the frontend and the backend, and also have the backend/frontend communicate constantly. As such, we naturally built Mito as a Jupyter Widget.

Being a widget comes with many benefits, including easy-to-extend templates, automatic shared state, pre-setup comm channels, and a handling of kernel restarts and page refreshes. For the first 2 years of development, widgets were perfect.

Limitations of Widgets
But recently, we've hit into some limitations of the widgets framework. Namely, opinionated state management practices, complexity with integrating with other UI libraries, additional Python dependencies, and install rates that leave a bit to be desired.

As a result of these complexities, we decided to move from being a widget to being a rich output: a javascript frontend that manually establishes comms with the Python kernel, and shares state with it.

I'll share details on how to make this transition away from widgets, and also talk about what it gives you as widget author: reduced dependencies, potentially-easier installation, more manual (but customizable) state management, and more!

Towards a Unified Rich Output
Jupyter contributors are currently exploring (github.com/jupyterlab/richoutput-js) a more minimial rich output interface. I’ll close by reflecting on the benefits of this more minimal interface, and why it might be the right way forward for the entire notebook ecosystem :)
Nate Rush   De Regid the Widget: Making Jupyter a Haven for Startups | JupyterCon 2023Colin Brown   Understanding and Visualizing Dependencies between Notebook Cells | JupyterCon 2023Tim Metzler   e2xgrader: An Add on for Improved Grading and Teaching with Jupyter Notebooks at ScaleCheuk Ho - Interactive Knowledge Graph Visualization in Jupyter Notebook | JupyterCon 2020Teaching and Learning With Jupyter and AI: An Educators Dilemma - Lorena BarbaMatthew Elliott   Jupyter as a Brain Computer Interface | JupyterCon 2023The Hidden Heroes: How Non-Code Contributors Find Their Place in Open Sour... M. Zhou & L. ChowtooriKeynote: Bridging Gaps with Code: Transforming K12 Education with Jupyter Everywhere - I. MartinezDenisa Checiu, Carlos Herrero   Visual Programming in JupyterLab with Blockly | JupyterCon 2023Lightning Talk: Jupyter Books for Education and Open Source Curriculum - Jonathan M FerrariChia liang Kao - Practical Enterprise JupyterHub Deployment and MLOps with PrimeHub| JupyterCon 2020Jupyter AI V3: Human and AI Collaboration - David Qiu & Piyush Jain, AWS
JupyterCon |

Nate Rush De Regid the Widget: Making Jupyter a Haven for Startups | JupyterCon 2023

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER