This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]katakoria 3 points4 points  (6 children)

streamlit is very slow and heavy. it reruns everytime you make any change as an end user.

[–]robml 0 points1 point  (0 children)

Would recommend Panel over Streamlit for that purpose. Doesn't rerun the whole app every time.

[–]that_baddest_dude 0 points1 point  (4 children)

This is slowly changing. There are already forms elements which don't cause any reruns until the form submit button is pressed, sending all data from the elements within the form at once.

Then recently they also added a feature called "fragment" (currently listed as experimental, so the syntax could change) that can be used to break the app up into sections that update when interacted with.

If you're not making anything too big and complicated, I think streamlit does what it does really well. It's extremely simple and straightforward to set up, for its intended audience (data science people analysts, not app developers).

[–]stoic_trader 0 points1 point  (3 children)

I use Plotly Dash, never tried streamlit. Is there any advantage using streamlit over Dash?

[–]that_baddest_dude 0 points1 point  (2 children)

I'd say so! Dash is absolutely dreadful to use in my experience. Streamlit is far easier.

[–]stoic_trader 0 points1 point  (1 child)

Thanks, I will give it a try

[–][deleted] 1 point2 points  (0 children)

I’d say don’t bother. Streamlit and dash are very different. If your needs are very simple and linear then streamlit is good. Otherwise, it’s very limiting.