Live data from Hacker News

Pynecone – Performant, customizable web apps in pure Python

pynecone.io

61–70 of 86 posts

Re: Pynecone – Performant, customizable web apps in pure Python

#61
Awesome! Now that I've seen this framework, it tempts me though...

I have this personal side project which in the wee days of me career I wrote in CherryPy; I love Python and have been exploring frameworks. I didn't really get a lot written in it because eventually I realized the project is frontend-heavy and I was never in the mood to write the JS for it.

Recently I had the need for this side project again so I thought, why not rewrite it using a framework that would avoid me having to deal with the madness that is the Node.js ecosystem? For one reason or another I ended up with Vaadin.

I've nothing against Java. If it works, it works. I got over the initial bump that is Spring and I got a "core" backend running, with tests too. My grievance with it is the usual Java fault of needing to write a lot of boilerplate just to shoehorn my app into the framework's philosophy. (Man, part of my initial consideration was even the tooling, editor, autocomplete, and all that, because damn me if I try Spring without these modern conveniences!)

And this...this is all the things that attracted me to Vaadin---but in Python! I am so tempted to rewrite again. My experience and your documentation should make this a two hour job, right? Right?

("Haha, I'm in danger," my side project chuckles like Ralph Wiggum, staring blankly at https://www.commitstrip.com/en/2014/11/25/west-side-project-...)

Re: Pynecone – Performant, customizable web apps in pure Python

#64

It’s just Python. The app state is just a class. State updates are methods in the class. And the UI is a reflection of the state. It's rare to see this sort of clarity on a landing page. Even more impressed to see that it carried over into the documentation, which is excellent. I've been a fan of the plotly/Dash framework, but this looks like an exciting alternative, feeling more immediately accessible without some o…

How accessible is the output (WCAG, Code 508)? Or how easy is it to make it accessible? I could not find any hints on the website.

Re: Pynecone – Performant, customizable web apps in pure Python

#65
post #17

It's a beautiful project and close to the Holy grail of fullstack software development (a single framework for building modern Web apps). But, be advised that it's not production ready and quite unstable yet. this week my deploy script was broken because version 0.1.26 was un-released. Which broke my docker file build with pinned dependencies. The file upload component was changed a few times so my UI with file uploa…

For a full-stack framework I'd take something Typescript-based now, because TS has better static typing than Python currently (with all due respect to mypy), and the async story of JS is much easier than that of Python. And also the JIT. But it's interesting to see that Python is able to advance so much in this direction; I hope it will continue.

[dead]

Re: Pynecone – Performant, customizable web apps in pure Python

#66

Earlier quoted context omitted.

I found it very difficult to do things like rich text boxes for a ChatGPT clone I was writing aimed at being child friendly. Ended up giving up when it became a bit spaghetti-ish and after the documentation stopped being useful beyond hello world apps.

Cofounder of Pynecone here - thanks for the feedback. We’re prioritizing improving our docs and example apps in the upcoming weeks and will have a ChatGPT clone example. Definitely want to improve the onboarding experience and showcase these more complex use cases.

That’s awesome - it looks like a really interesting project. Would you be able to address the specific criticism raised by parent, on rich text boxes? Is this a case of a documentation shortfall, or something more fundamental?

Re: Pynecone – Performant, customizable web apps in pure Python

#68
> Now everyone can work across the full-stack. > > With Pynecone every engineer can work across the whole stack allowing for a more efficient and productive workflow.

I assume what is meant is that having a single language is allowing people who know Python to work "full stack". I don't believe in that argument

1. JS has brought you that since Node.

2. You can transpile Python to JS, the fact that it's the same language is only a marginal gain. Certainly you'll skip the few quirks of JS, but front end dev is arguably another paradigm from back-end, using the same language is not the biggest hurdle to learning front end dev.

3. This is proposing to learn a specific and niche framework that will probably not used in your next project or job, rather than spending similar time learning the proper, mainstream tools of front-end.

Re: Pynecone – Performant, customizable web apps in pure Python

#69

Earlier quoted context omitted.

I found it very difficult to do things like rich text boxes for a ChatGPT clone I was writing aimed at being child friendly. Ended up giving up when it became a bit spaghetti-ish and after the documentation stopped being useful beyond hello world apps.

Cofounder of Pynecone here - thanks for the feedback. We’re prioritizing improving our docs and example apps in the upcoming weeks and will have a ChatGPT clone example. Definitely want to improve the onboarding experience and showcase these more complex use cases.

Please, add examples of rich authn and authz flows with 2FA and email integration for account verification.

Re: Pynecone – Performant, customizable web apps in pure Python

#70

Earlier quoted context omitted.

Cofounder of Pynecone here - thanks for the feedback. We’re prioritizing improving our docs and example apps in the upcoming weeks and will have a ChatGPT clone example. Definitely want to improve the onboarding experience and showcase these more complex use cases.

That’s awesome - it looks like a really interesting project. Would you be able to address the specific criticism raised by parent, on rich text boxes? Is this a case of a documentation shortfall, or something more fundamental?

[deleted]
Post reply on HN