Hacker News new | ask | show | jobs
by vladev 1749 days ago
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/

5 comments

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.

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.

Streamlit is great for demos but not for building a product.
Notebooks aren't great for building a product, either.
I am waiting for JetBrain’s DataSpell which supposedly combined notebooks with IDE goodies.

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

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.

Just trying it out now, but why is it not good for products?
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
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.
This is great. I've been looking for the equivalent of RShiny in the python world and never heard of streamlit before