How to create IPython Widgets?

Hi
I’m interested in learning more how to do widgets to Jupyter Notebooks (+alternatives) and because Fastai is supporting many of these maybe people can give some advice. I read IPython documentation but those doesn’t go very deep. I don’t have any idea where to even start to create something more custom. I like this https://prodi.gy/ because they have really complex widget that even requires a license to use. Could someone explain the tech behind this or point me to some really good tutorial that shows how to do CUSTOM widgets? I feel like most of the rare tutorials just talk about simple examples with just IPython Widgets.

1 Like

I used ipywidgets for a GUI Visual GUI and colab.widgets for
Colab Fastai graphical user interface for Google Colab if these help.

Ipywidgets docs: https://ipywidgets.readthedocs.io/en/latest/

Your right info is spotty on more advanced features

1 Like

You can also look at my ClassConfusion widget and compare the one I made in jupyter that’s in the library to see how to do widgets in one environment vs the other https://github.com/muellerzr/ClassConfusion

2 Likes

Thanks for answers. I actually found this really good template


The on question still remains is how some people can require license? That’s like magic for me. I think they have server where they get some of the code (or at least checks the license) but not sure how to do it in practice.

1 Like

This one seems like really good Medium post about the topic.

2 Likes