Live data from Hacker News

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

news.ycombinator.com

71–80 of 329 posts

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

#71

Hello Nikhil and Alek! Pynecone looks great! I saw your Show HN a couple of months ago, but I hadn't tracked its progress since. I'm a fellow founder in the Education space; would you be interested in building a series of "Tutorials" (we have to find the best shape for this) of building Pynecone apps?

Yes that sounds interesting, let's discuss more!

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

#72
post #34

At first I was very skeptical, but after looking further at the examples I feel like you pretty much nailed the developer experience. I have not used this yet but I will definitely check it out. Is there a roadmap? I see the GitHub project board is pretty focused on v0.1.20. I am curious what are your plans for client side code via wasm? I feel like that is a critical missing piece for me.

Thanks! We're using GH Projects for everything, we will update the board with a more long-term roadmap. Python support for wasm isn't where we need it yet, but we definitely want to integrate it when it's ready.

What do you think is missing?

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

#74
You could make about a trillion dollars if, instead of asking people to write Python, you just gave them a WYSIWYG and let them build web apps by pointing and clicking like in MS Publisher/Powerpoint. Literally everyone in the world would buy it to make their own web pages.

I get that nerds like to write code, but it is really depressing that we still can't just point and click and share content on the internet, we need to hire a nerd to write some special language just to make some text boxes and images show up on a screen. I mean, it's 2023. We have rovers discovering ice on freaking Mars. But just making a web page by pointing and clicking is impossible, or limited only to specific web hosting companies.

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

#75

I'm not exaggerating but this might just be the highest impact library I've seen. As a backend developer who has lots of great project ideas but bail at the thought of having to use JavaScript and HTML, this library is a godsend! My only question is why it took so long for someone to implement it? And where are the equivalent libraries for Go, Rust and Java?

I have seen a .NET project that did something similar to this, it was called Bridge. That was 8 years ago no sure if it's still available.

Websharper[1] lets you develop web apps all in F# or C#. Its reactive HTML layer is particularly useful.

1: https://websharper.com/

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

#76
post #55

Earlier quoted context omitted.

Each new browser tab creates a new state. We use Redis to store the state and expire it after 30 minutes.

Does that place some restrictions on what can be done with the state? e.g. does it need to be pickleable and relatively small since it needs to be loaded from redis on every event? (Pretty cool, btw! Congrats on the launch)

We use the `cloudpickle` library which supports most data types. We found the state size doesn't impact performance too much - our main website's state is quite large but the Redis loads stay fast.

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

#77
post #67
post #8

I'd love to see something like this. I'm an old computer science guy and would love to write software again. I can write plenty of functionality in Python but I don't really want to learn all the JS stuff. I just don't like it. If I could abstract away the details it would be a big help. I'm not going to build anything that requires scale or commercial performance so I can afford to compromise versus the "purity" of…

> ...I'm an old computer science guy and would love to write software again. I can write plenty of functionality in Python but I don't really want to learn all the JS stuff... Back in early 2000s, i used to be more of a front-end dev...but over the years of being more of a manager (or PM or product manager) i stepped away from daily development...So, you know, I lost my touch. But a few years ago when i tried to dip…

Check out htmx.

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

#78

I'm not exaggerating but this might just be the highest impact library I've seen. As a backend developer who has lots of great project ideas but bail at the thought of having to use JavaScript and HTML, this library is a godsend! My only question is why it took so long for someone to implement it? And where are the equivalent libraries for Go, Rust and Java?

In java I know of https://www.webtoolkit.eu/jwt/

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

#80

Looks promising specially if it is available via Open-source with the choice of self hosting. It would be great if you add a library to make it easy for sign up and login to the web apps as this is a feature that is universally needed. (And if you do please keep it part of the OS version)≥

Upvote for this request! It's really not some pleasant experience to implement all this in Streamlit. Should also support some third-party authentications.
Post reply on HN