Live data from Hacker News

Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

news.ycombinator.com

111–120 of 329 posts

Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

#111
post #47

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…

This is absolutely true. I love Streamlit whenever I need to get a small proof of concept off the ground and hate it the moment I need to customize it even slightly beyond the rail guards it puts in place.

Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

#112
post #110

In 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

No you shouldn't have to do anything special, external libs should work as normal when used in event handlers.

Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

#113
I 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

#114

I 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 wanting to deal with Javascript the language [1], maybe?

[1]: https://javascriptwtf.com/

Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

#115

I 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?

Definitely understand where you coming from, but I think there are a lot of engineers and data scientists who don't agree or don't have the time/drive to learn frontend technologies.

Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

#116
In 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 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

#117

In 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…

Thank you! Glad the finance/quant community can find it useful!

Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

#118

I 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?

> I don't want to downplay the library, but how hard is Javascript/HTML for the majority of python programmers?

Not easy, esp. when you throw in CSS and the build systems

Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

#119

I 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.

Thanks. I guess this is all quite new but it would help if it was clearer about what can be run where.

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.

Post reply on HN