voila-dashboards / voila

Voilà turns Jupyter notebooks into standalone web applications
https://voila.readthedocs.io
Other
5.31k stars 497 forks source link

Some simple questions concerning Voila #1454

Closed Jacques2101 closed 3 months ago

Jacques2101 commented 3 months ago

Question

I have some questions concerning Voila. I ma new to this app.

1) Does it work with VSCode ? 2) Does it produce a standalone app ? 3) what is the difference with ipywidgets ?

Thx

martinRenou commented 3 months ago
  1. Does it work with VSCode ?

AFAIK VSCode does not have a voila-preview plugin.

  1. Does it produce a standalone app ?

Not sure what you mean by that. Voila, like Jupyter Notebook or JupyterLab start a jupyter server to serve and render notebooks. The difference is that it executes the notebook entirely and renders the outputs only by default. Also notebooks are readonly with Voila.

  1. what is the difference with ipywidgets ?

IPywidgets is a Python library to create interactive widgets in your Notebook. These widgets will work in Voila, Jupyter Notebook or JupyterLab.

Jacques2101 commented 3 months ago

I would like to make a dashboard with code hidden and with widgets (to select some options from my code). Is Voila the right place to be ? Is it more ipywidgets ?

Thx a lot for your answer

PS : I am sorry but i know nothing about Voila

martinRenou commented 3 months ago

Sounds like Voila is exactly what you're looking for :)

Jacques2101 commented 3 months ago

and, last but not the least question, what is the difference with streamlit ?

martinRenou commented 3 months ago

Streamlit is not notebook-oriented. Voila is puts the Jupyter notebook at its core.

You basically use the Jupyter Notebook or JupyterLab for the exploratory phase, then execute the resulting notebook with Voila to make it a nice dashboard.