Readit News logoReadit News
picklelo commented on Roast Your Website with Claude3   webcritic.reflex.run... · Posted by u/picklelo
picklelo · 2 years ago
I was playing around this weekend on making user interfaces around Claude3 and built this little web app to roast your website.

Source code here: https://github.com/picklelo/webcritic

picklelo commented on Designing a Pure Python Web Framework   reflex.dev/blog/2024-03-2... · Posted by u/picklelo
FranklinMaillot · 2 years ago
For those who were familiar with pynecone, this is actually the same framework, just rebranded.
picklelo · 2 years ago
Yes good call out. We started as Pynecone but a company with a similar name forced us to change our name.
picklelo commented on Designing a Pure Python Web Framework   reflex.dev/blog/2024-03-2... · Posted by u/picklelo
haolez · 2 years ago
I've tried it in my company. It's great, but the builds were annoying because of pip failing to solve the dependencies when using Reflex together with other big libraries.

I'll give it another try in the future.

picklelo · 2 years ago
Hey thanks for the feedback. We're working on relaxing our dependencies [1] to make reflex more compatible. Do you remember what libraries you had the conflict with?

[1] https://github.com/reflex-dev/reflex/pull/2796

picklelo commented on Designing a Pure Python Web Framework   reflex.dev/blog/2024-03-2... · Posted by u/picklelo
DandyDev · 2 years ago
This looks like a really neat project! The examples certainly feel less “script-like” than streamlit.

One thing I find disappointing though, is that this framework is built on top of FastAPI. I feel it’s a bad idea to build on top of what’s basically a one-man project. No matter how popular that project is.

picklelo · 2 years ago
Thanks! we found script-like frameworks like Streamlit are nice for small apps, but hard to reason about for larger apps. We went with a declarative approach more similar to React.

FastAPI has been working well for us, but we're not strongly coupled to it - in the future it would be easy to swap it out if needed.

picklelo commented on Designing a Pure Python Web Framework   reflex.dev/blog/2024-03-2... · Posted by u/picklelo
jph00 · 2 years ago
I really like this idea of using Python to create both the frontend and backend. Another lib doing this is https://solara.dev/ . Something I particularly like about Solara is that you can interactively build your app in a Jupyter Notebook, since behind the scenes it's using ipywidgets.

Has anyone compared Solara and Reflex and can comment on pros/cons? Are there other options in this space? Maybe https://shiny.posit.co/py/ ?

picklelo · 2 years ago
Right now Reflex is meant for full-stack apps, but portability is something people have asked us for.

We're working on making Reflex work in different environments like Jupyter notebooks, and we're also exploring using Reflex for widgets [1] that can be embedded in pre-existing apps, so you can add interactive Python elements easily without rewriting your whole app.

[1] https://x.com/nikhi1rao/status/1767756284751991035

picklelo commented on Designing a Pure Python Web Framework   reflex.dev/blog/2024-03-2... · Posted by u/picklelo
etskinner · 2 years ago
Can you call it pure python if it compiles to React? Seems like the abstraction just makes it harder to debug
picklelo · 2 years ago
We need to compile down to React/HTML in the end as it's the only way to render a webpage. By "pure Python" we meant from the developer's perspective they won't have to touch React or Javascript.

We only use React for the UI layer and to send events. Since all the state/logic is kept in Python you won't see Javascript errors during runtime, and debugging can mostly be done in Python land.

picklelo commented on Pynecone – Performant, customizable web apps in pure Python   pynecone.io/... · Posted by u/gilad
darkteflon · 3 years ago
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?
picklelo · 3 years ago
We want to support any UI feature that you can build with React/NextJS. We will expand our core to include components like rich text inputs but we also have a way to wrap any React library so you're not locked into the components we provide: https://pynecone.io/docs/advanced-guide/wrapping-react

Deleted Comment

u/picklelo

KarmaCake day492April 16, 2018
About
nikhil@reflex.dev
View Original