The API seems pretty similar to Streamlit, another library to create data apps with Python Given thar it’s more popular compared to Pynecone based on Github, how do you plan to differentiate? I would love to hear about the way that you compile to NextJS because that’s a challenge with Streamlit. I have looked into your docs for custom components but I wonder if it’s possible to use compiled NextJS and bring my custom…
I think the biggest differentiation is that Pynecone apps are completely customizable and don't re render based on State changes. Streamlit is great for dashboard type apps but when you want to expand on your app you can be limited in terms of flexibility and customizability. The whole Pynecone website is made in Pynecone vs other frameworks like streamlit cannot do this because they are limited in what they can buil…
Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
111–120 of 329 posts
Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#112In the documentation, I don't see any mention of including external libraries. For example, do you have to do something special to use this nostr library with Pynecone? https://github.com/jeffthibault/python-nostr
Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#113Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#114I don't want to downplay the library, but how hard is Javascript/HTML for the majority of python programmers? You might not make the most beautiful websites, but you can make a functional website if what you're displaying is primarily data to users because you're doing big data/AI and so forth and not setting up a consumer facing marketing platform. What's the use case here?
Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#115I don't want to downplay the library, but how hard is Javascript/HTML for the majority of python programmers? You might not make the most beautiful websites, but you can make a functional website if what you're displaying is primarily data to users because you're doing big data/AI and so forth and not setting up a consumer facing marketing platform. What's the use case here?
Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#116This is immensely valuable to a lot of Python devs, especially in finance/quant community. Great work!
Edit: The reason why this is so impactful is b/c most users have no idea how to build a react app (along with the circus of build/deploy train one typically entails). They just want a quick-and-dirty UI for their Python model they developed in Jupyter or similar. If the model has legs, a separate FE dev would build a fancier front end later.
Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#117In earlier life, I authored this exact product (including distributed deploy) for a large investment bank and a fintech startup :) This is immensely valuable to a lot of Python devs, especially in finance/quant community. Great work! Edit: The reason why this is so impactful is b/c most users have no idea how to build a react app (along with the circus of build/deploy train one typically entails). They just want a qu…
Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#118I don't want to downplay the library, but how hard is Javascript/HTML for the majority of python programmers? You might not make the most beautiful websites, but you can make a functional website if what you're displaying is primarily data to users because you're doing big data/AI and so forth and not setting up a consumer facing marketing platform. What's the use case here?
Not easy, esp. when you throw in CSS and the build systems
Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#119I am curious to know how python is transpired in to JavaScript for tricky cases involving promises/async await Since python usage is quite different from javascript and for promises it doesnt even exists.
Only the frontend is compiled to JS/React. All the logic and state updates stay in Python and are run on the server, so we don't have to transpile arbitrary Python.
From this, it seems like the frontend parts can't have arbitrary Python included and it's the backend parts where you can drop in some Python for the logic. Making this clear early will help people get the right mental model of what this is really doing.
Anyway, good luck with this! I will keep an eye on it for sure.
Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#120this is a neat demo but why do I need to get python in the client when it is even easier to get js in the server?
webdev is basically a solved problem at this point