Settings

Theme

Solara: A Pure Python, React-Style Framework for Scaling Your Web Apps

github.com

7 points by maartenbreddels 3 years ago · 3 comments

Reader

maartenbreddelsOP 3 years ago

We're excited to introduce Solara: A pure Python web framework built for large, complex apps.

While there are many Python web frameworks out there, most are designed for small data apps or use paradigms unproven for larger scale. Code organization, reusability, and state tend to suffer as apps grow in complexity, resulting in either spaghetti code or offloading to a React application.

Solara addresses this gap. Using a React-like API, we don't need to worry about scalability. React has already proven its ability to support the world's largest web apps.

Solara uses a pure Python implementation of React (Reacton), creating ipywidget-based applications. These apps work both inside the Jupyter Notebook and as standalone web apps with frameworks like FastAPI. This paradigm enables component-based code and incredibly simple state management.

By building on top of ipywidgets, we automatically leverage an existing ecosystem of widgets and run on many platforms, including JupyterLab, Jupyter Notebook, Voilà, Google Colab, DataBricks, JetBrains Datalore, and more.

We look forward to your thoughts and feedback!

  • pietroppeter 3 years ago

    interesting! from your company's website I gather that the idea is to support this development through consulting services around this and other libraries, is that correct?

    https://widgetti.io/

    • maartenbreddelsOP 3 years ago

      Correct. We were already doing that with pure/classic ipywidgets based apps.

      We helped many clients get their prototypes into production and identifier some friction doing that.

      We now have a way to make more complex apps using the same stack, and get better app startup performance.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection