A Qt for Python extension for Voila!
This is a Qt for Python (Pyside2) widget encapsulating a Voila application. It's a convenient way of embedding the awesomeness of Voila in your Qt applications.
$ pip install qtvoila
QtVoila should be imported and used as a PySide2 widget:
from qtvoila import QtVoila
voila_widget = QtVoila()
To pass the Python code to be processed by Jupyter:
code = "here goes your python code"
voila_widget.code = code
To run the Voila process and render the result on widget:
voila_widget.run_voila()
To clear widget and stop the background Voila process:
voila_widget.close_renderer()
Find the code for the example below at examples: