News for hackers. Stuff that matters.
Re:Voila – From notebooks to standalone web applications and... by vladev on Tuesday August 31, 2021 @04:41AM (#28365337)
Note that there's also streamlit [1]. It uses regular python files, rather than notebooks, so they can be easily version controlled. And it has more UI tools.

[1]: https://streamlit.io/

Re:Voila – From notebooks to standalone web applications and... by IanCal on Tuesday August 31, 2021 @05:47AM (#28365809)
Exceptionally strong recommendation for streamlit from me.

I can create a GUI for a tool that looks nice faster than I can make a CLI. I've built useful production systems (ok, sure, for internal use) in literally minutes.

You're a bit limited in what kinds of apps you can make but the tradeoffs it makes here means that it's astoundingly easy to make a wide range of very useful tools.

Re:Voila – From notebooks to standalone web applications and... by byteface on Tuesday August 31, 2021 @05:48AM (#28365815)
I wasn't aware of this so thanks for sharing. I've been setting up a repo that utilises github actions to build exe/app files as noted in this guys blog...

https://data-dive.com/multi-os-deployment-in-cloud-using-pyi...

It uses pyinstaller to build and even pushes the build as a zip into your release page on github and appears to be working quite well.

Re:Voila – From notebooks to standalone web applications and... by d4rkp4ttern on Tuesday August 31, 2021 @07:13AM (#28366364)
Streamlit is great for demos but not for building a product.
Re:Voila – From notebooks to standalone web applications and... by r-zip on Tuesday August 31, 2021 @08:46AM (#28367320)
Notebooks aren't great for building a product, either.
Re:Voila – From notebooks to standalone web applications and... by d4rkp4ttern on Tuesday August 31, 2021 @10:57AM (#28368897)
I am waiting for JetBrain’s DataSpell which supposedly combined notebooks with IDE goodies.

https://www.jetbrains.com/dataspell/

Re:Voila – From notebooks to standalone web applications and... by d4rkp4ttern on Tuesday August 31, 2021 @10:55AM (#28368878)
Indeed! I find working in notebooks to be singularly unpleasant, mainly because of lack of full IDE support. Others have deeper reasons to dislike notebooks:

https://news.ycombinator.com/item?id=19859913

As a note to OP, messaging your solution as “turn your notebook into an app” may not be optimal — you will loose many who abhor working in notebooks.

Re:Voila – From notebooks to standalone web applications and... by rexreed on Tuesday August 31, 2021 @09:34AM (#28367863)
Just trying it out now, but why is it not good for products?
Re:Voila – From notebooks to standalone web applications and... by d4rkp4ttern on Tuesday August 31, 2021 @10:59AM (#28368920)
The main appeal is the low effort to coolness ratio. But layouts are limited and you hit a wall if you try to implement even simple interactions. State management used to be rough but maybe it has improved lately
Re:Voila – From notebooks to standalone web applications and... by pavlovskyi on Tuesday August 31, 2021 @04:48AM (#28365384)
In my daily routine we are using streamlit and it is pretty decent, mainly because you do not have to care much about backend. And, what was mention by you it has impressive amount of UI tools and relatively active community.
Re:Voila – From notebooks to standalone web applications and... by vatican_banker on Tuesday August 31, 2021 @05:45AM (#28365790)
This is great. I've been looking for the equivalent of RShiny in the python world and never heard of streamlit before