Live data from Hacker News

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

news.ycombinator.com

151–160 of 329 posts

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

#151
This is really interesting so far.

I think I've found a bug when using f-strings:

    pc.text(f'count: {State.count}'),
outputs:

    count: {state.count}
while...

    pc.text('count: ' + State.count),
outputs:

    count: 123
(I'm otherwise using the counter example, just with a default value of 123.)

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

#153
I love this! This solves a big problem for me, which is writing/packaging/deploying JS/HTML.

Question: I see that the ORM assumes a SQL backend. Do you have any plans to support key/value stores, or is it easy to change out the ORM?

I'm thinking this would be perfect for deployment into AWS Lambda for the backend, Cloudfront for the front end, and DynamoDB for the data.

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

#154
post #72

Earlier quoted context omitted.

What do you think is missing?

I think a big thing is the limited supported libraries as of now.

Isn't also just the fact you need to send over like 7MB of wasm for even just the standard library?

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

#155
Niiiice ! So we should also be able to unit test ou components in pytest and debug them with PDB ? Gonna check this out real soon :)

As a react dev turned django dev, I cannot wait to get my hands on this!

Edit: how come the counter example is so slow on my iPhone 11 though ? That seems real weird https://pynecone.io/docs/getting-started/introduction

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

#156

How does Pynecone differentiate from Streamlit, Panel and Dash?

I've used some of these in the past and they're easy to get started with, but I found limitations in terms of components, styling, and performance. Since we compile down to a NextJS app, we aim to have the flexibility of traditional webdev with the ergonomics of Python

Thanks for this. I'm interested in how you compare yourselves to dash in particular - having a quick look at the network calls, the way you interact with the back-end looks fairly similar. I've written some relatively complex apps in Dash and have been hitting some limitations there, so I'm keen to see how Pynecone might help get past some of these.

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

#157

Congrats. Looks really cool! I'm curious how this compares to other efforts like this such as Streamlit? I do like the fact you compile to React/Next.js as that opens up the possibility of tapping into that rich ecosystem. Also others have mentioned, and it might not be fair, but the name Pinecone (and variations) has sorta been taken at this point by the vector DB startup since they launched first. So I'd just bite…

[deleted]

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

#158

Earlier quoted context omitted.

EDIT: My following statement about self hosting is incorrect. You can, infact, self host. This looks wonderful, but the inability to self host is a killer from the solo developer point of view. Being limited to 50,000 database rows on the free account isn't ideal.

Anvil has self-hosting! Just "pip install anvil-app-server" :) https://anvil.works/open-source (I'm a founder)

Well, I stand corrected! I was looking through the mobile site and didn't spot it. This makes me want to look a bit harder.

When self hosting, do you gain or miss out on paid features?

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

#159

Earlier quoted context omitted.

EDIT: My following statement about self hosting is incorrect. You can, infact, self host. This looks wonderful, but the inability to self host is a killer from the solo developer point of view. Being limited to 50,000 database rows on the free account isn't ideal.

I totally thought Anvil had self-hosting. I was seriously considering it for my next project. Now not so much.

One of the founders corrected my statement. Apparently you can self host.

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

#160

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 think Jacascript/HTML is the hurdle - for me it's all of the tooling around the ecosystem that makes me want to avoid it. That said, these types of tools have been a good entry point into front-end work, and I'm now at a point where building directly in JS makes more sense.

One thing that is a huge win for the work I am doing - using Dash, I'm able to prototype an informal API and build the visualisations in a single step, which is great when it's unclear what is going to be useful. Long-term it definitely makes maintenance harder, and I think that's where there is a gap in the ecosystem - ideally I want to eject the front-end and convert the API to something more formal to hand off to a real front-end developer.

Post reply on HN