A mature implementation exists, called voilà, see <a href="https://github.com/voila-dashboards/voila" rel="nofollow">https://github.com/voila-dashboards/voila</a>, which is developed by members of the Quantstack.
Thanks for letting me know about <i>streamlit</i>:<p><a href="https://www.streamlit.io/" rel="nofollow">https://www.streamlit.io/</a>
My personal opinion is just that I don't like jupyter notebooks... If your thinking of deploying the code as an app you really shouldn't be using notebooks in the first place. In fact for anything even modestly complex you shouldn't be using notebooks... Your never going to get the habit of writing good code... But different things work for different people I guess
There was another cool streamlit introduction posted on hn some time ago: <a href="https://towardsdatascience.com/coding-ml-tools-like-you-code-ml-models-ddba3357eace" rel="nofollow">https://towardsdatascience.com/coding-ml-tools-like-you-code...</a>
Streamlit's docs talk about magic, and their contributions guide mentions protobufs for Python and JS. Nowhere can I find info on how this actually works under the hood. Is it possible to extend without writing JavaScript?