Pynecone – Performant, customizable web apps in pure Python
21–30 of 86 posts
Re: Pynecone – Performant, customizable web apps in pure Python
#22Don't. Just do not do this Python has a place in scripting Because you can, does not mean you should, build full applications with it It is a colossal waste of resources. It leads to genuine problems as it gets bigger that you will only find when you have considerable sunk costs. This is a terrible idea, it was a terrible idea in 1995 when people did this with Perl, it is a terrible idea now Use Python for what it is…
No, get the idea working first. Talk to customers... pivot... repeat. After finding a fit and portions are too slow look into Cython or offload to services in golang, etc.
This looks like a great productivity booster.
Re: Pynecone – Performant, customizable web apps in pure Python
#23Re: Pynecone – Performant, customizable web apps in pure Python
#24Don't. Just do not do this Python has a place in scripting Because you can, does not mean you should, build full applications with it It is a colossal waste of resources. It leads to genuine problems as it gets bigger that you will only find when you have considerable sunk costs. This is a terrible idea, it was a terrible idea in 1995 when people did this with Perl, it is a terrible idea now Use Python for what it is…
Re: Pynecone – Performant, customizable web apps in pure Python
#25Re: Pynecone – Performant, customizable web apps in pure Python
#26It’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…
I would love to hear what your experience is. We've been using Pynecone for a bit and are coming up against some problems. For example trying to write a wrapper for AG Grid there is no way to pass a custom class attribute so you can't style the output with a theme.
Re: Pynecone – Performant, customizable web apps in pure Python
#27I followed the link to try the increment/decrement example/demo from the landing page ( https://pynecone.io/docs/getting-started/introduction ). There is probably almost a full one second delay between the time I click the "increment" button and the updated count being rendered. Not seeing any network requests so I can't imagine why it would be so laggy.
Clicking sends a websocket message to the backend. Which then responds with a state update message which updates the frontend react components. rhe round trip would probably take the same time with rest APIs, but you would have the ability to add some loading indicators or hints, because you'd have full control over client side rendering. You don't have that when using pynecone. It's a tradeof
Re: Pynecone – Performant, customizable web apps in pure Python
#28Don't. Just do not do this Python has a place in scripting Because you can, does not mean you should, build full applications with it It is a colossal waste of resources. It leads to genuine problems as it gets bigger that you will only find when you have considerable sunk costs. This is a terrible idea, it was a terrible idea in 1995 when people did this with Perl, it is a terrible idea now Use Python for what it is…
Re: Pynecone – Performant, customizable web apps in pure Python
#29sounds impossible to scale. but nice ui though
Re: Pynecone – Performant, customizable web apps in pure Python
#30Sadly it's apparently incompatible with SQLAlchemy 2.0, so I can't use it.