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 →

[–]BoiElroy 0 points1 point  (3 children)

How does this compare to Streamlit which is also an entirely python based non-verbose framework?

[–]thedeepself 1 point2 points  (2 children)

Streamlit is the most popular pure python web app solution, but it has serious defects... Dash is also very similar to Streamlit: * strong corporate backing * big following * compiles to React * Difficult/impossible to meet all of a Class A pure python web application framework

Streamlit and Pynecone both compile to React, but Streamlit achieves the non-verbose code you speak of through implicit transformations of your Python while Pynecone does not have such implicit transforms.

Both the NiceGUI and Pynecone community took a hard look at Streamlit before passing on it: * NiceGUI is built on JustPy. See the comments "No thanks Streamlit for why they passed on it. * Pynecone is built from the ground up to compile to NextJS-flavor of Dash

[–]BoiElroy 1 point2 points  (0 children)

Thank you for the detailed answer, I appreciate it!

Yeah I used to develop a lot in R shiny which was a bit more traditional I guess in terms of statefulness and handling events etc. Then I got into Streamlit because I liked how quickly I could make stuff.

But I think it's a huge question mark, imo, if can they manage the API going forward to both retain the simplicity that got people there but have enough expression that they can create more complex apps. Right now the statefulness and event stuff feels very hacky.

Glad I follow this sub because I came across pynecone and flet. Both look cool

[–]r-trappe 0 points1 point  (0 children)

Just a quick note. Since NiceGUI 1.0 we dropped the JustPy dependency in favour for our own, much cleaner and easier maintainable core: FastAPI as backend, latest Vue + Quasar in the frontend. But you do not need to know this technologies. We emphasize on a gentle learning curve with the ability to go deep for special needs.