5 ms·
I'd be interested and will check this out. I have used plotly dash and love to hear a compare and contrast
by deshpand 5y ago
I'd be interested and will check this out. I have used plotly dash and love to hear a compare and contrast
- kiesel3rde 5y agoUnfortunately i don't know plotly and have no experience with dart programming.
- JPKab 5y agoOk, so you should definitely look at Plotly Dash and Streamlit. They are both frameworks that have essentially accomplished the same goal. Plotly Dash doesn't use websockets though, at least not since I was deep in a project to build a Tableau-like viz creator on top of it a couple of years ago. I'd like to see your thoughts and how this compares.
- kiesel3rde 5y agoOk. Plotly: if i read the docs correctly, Plotly converts python scripts to a web application and they can host the app for you. Lona is meant to be self hosted and runs the python directly. Streamlit: Streamlit provides an editor to create your app, and infrastructure to run it. Lona has no editor and runs on your infrastructure. I would say Lona has the smallest software stack of the three, and you have full control over it
- JPKab 5y agoBoth Plotly and Streamlit can be self-hosted. I've hosted prod apps in both frameworks. However, I understand why you thought that, because both companies seek to monetize their open source software via offering ultra-simple, semi-automated hosting for apps built in their respective frameworks. Plotly Dash is just a Flask app with a whole lot of other things wired in and a sophisticated front-end operating on a DAG structure provided by the server that is dynamically generated from the Python code. It's got it's issues, but it's interesting nonetheless. I'm not trying to be some pedantic know-it-all or anything, I'm just correcting you on this because I'm very curious on the deltas between your very interesting looking framework and those. I love these kinds of projects and I'm excited to take a deeper look at yours once I'm done with my current sprint. Very glad to see you made awesome use of your time during the lockdowns.
- kiesel3rde 5y ago@JPKab: Ah ok! Thanks for making this clear
- nicolaskruchten 5y agoDash (by Plotly) doesn't "convert" Python scripts, no, it works in a similar way to Lona: there is a Javascript frontend that communicates with the Python backend and the Python functions (callbacks) are executed directly.
- Atlas-Marbles 5y ago>Streamlit provides an editor to create your app That's actually not the case. Streamlit is an open-source python package to generate frontend components for data-focused apps. You can host it on whatever infrastructure you like. It's essentially for data engineers who don't even want to think about front end. Streamlit's narrow use-case doesn't seem to compete with Lona, which seems more general and flexible. See the code examples here: https://github.com/streamlit/streamlit https://github.com/streamlit/streamlit
- jlawer 5y agoThere is a fork / enhanced version of Dash that does use websockets: https://github.com/richlegrand/dash_devices https://github.com/richlegrand/dash_devices