voila 0.5.11


pip install voila

  Latest version

Released: Aug 25, 2025

Project Links

Meta
Author: Voila Development Team
Requires Python: >=3.8

Classifiers

Framework
  • Jupyter
  • Jupyter :: JupyterLab
  • Jupyter :: JupyterLab :: 3
  • Jupyter :: JupyterLab :: Extensions
  • Jupyter :: JupyterLab :: Extensions :: Prebuilt

License
  • OSI Approved :: BSD License

Programming Language
  • Python
  • Python :: 3
  • Python :: 3.7
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11

voila

Documentation Binder Discourse Zulip

Rendering of live Jupyter notebooks with interactive widgets.

Introduction

Voilà turns Jupyter notebooks into standalone web applications.

Unlike the usual HTML-converted notebooks, each user connecting to the Voilà tornado application gets a dedicated Jupyter kernel which can execute the callbacks to changes in Jupyter interactive widgets.

  • By default, Voilà disallows execute requests from the front-end, preventing execution of arbitrary code.
  • By default, Voilà runs with the strip_sources option, which strips out the input cells from the rendered notebook.

Installation

Voilà can be installed with the mamba (or conda) package manager from conda-forge

mamba install -c conda-forge voila

or from PyPI

pip install voila

JupyterLab preview extension

Voilà provides a JupyterLab extension that displays a Voilà preview of your Notebook in a side-pane.

Starting with JupyterLab 3.0, the extension is automatically installed after installing voila with pip install voila.

If you would like to install the extension from source, run the following command.

jupyter labextension install @voila-dashboards/jupyterlab-preview

Usage

As a standalone tornado application

To render the bqplot example notebook as a standalone app, run voila bqplot.ipynb. To serve a directory of jupyter notebooks, run voila with no argument.

For example, to render the example notebook bqplot.ipynb from this repository with Voilà, you can first update your current environment with the requirements of this notebook (in this case in a conda environment and render the notebook with

mamba env update -f .binder/environment.yml
cd notebooks/
voila bqplot.ipynb

For more command line options (e.g., to specify an alternate port number), run voila --help.

As a server extension to notebook or jupyter_server

Voilà can also be used as a Jupyter server extension, both with the notebook server or with jupyter_server.

To install the Jupyter server extension, run

jupyter serverextension enable voila
jupyter server extension enable voila

When running the Jupyter server, the Voilà app is accessible from the base url suffixed with voila.

Documentation

To get started with using Voilà, check out the full documentation:

https://voila.readthedocs.io/

Examples

The following two examples show how a standalone Jupyter notebook can be turned into a separate app, from the command-line integration.

Rendering a notebook including interactive widgets and rich mime-type rendering

Voilà basics

Rendering a notebook making use of a custom widget library (bqplot)

Voilà bqplot

Showing the source code for a Voilà notebook

The sources of the Jupyter notebook can be displayed in a Voilà app if option strip_sources is set to False.

Voilà sources

Voilà dashboards with other language kernels**

Voilà is built upon Jupyter standard formats and protocols, and is agnostic to the programming language of the notebook. In this example, we present an example of a Voilà application powered by the C++ Jupyter kernel xeus-cling, and the xleaflet project.

Voilà cling

The Voilà Gallery

The Voilà Gallery is a collection of live dashboards and applications built with Voilà and Jupyter widgets.

Most of the examples rely on widget libraries such as ipywidgets, ipyleaflet, ipyvolume, bqplot and ipympl, and showcase how to build complex web applications entirely based on notebooks.

New examples can be added to the gallery by following the steps listed in the voila-gallery/gallery repository.

Development

See CONTRIBUTING.md to know how to contribute and set up a development environment.

Related projects

Voilà depends on nbconvert and jupyter_server.

License

We use a shared copyright model that enables all contributors to maintain the copyright on their contributions.

This software is licensed under the BSD-3-Clause license. See the LICENSE file for details.

0.5.11 Aug 25, 2025
0.5.10 Aug 01, 2025
0.5.9 Jul 30, 2025
0.5.8 Oct 18, 2024
0.5.7 May 23, 2024
0.5.6 Apr 02, 2024
0.5.5 Oct 31, 2023
0.5.4 Sep 18, 2023
0.5.3 Sep 13, 2023
0.5.2 Sep 04, 2023
0.5.1 Aug 25, 2023
0.5.0 Aug 17, 2023
0.5.0rc0 Aug 10, 2023
0.5.0b1 Aug 03, 2023
0.5.0b0 Aug 02, 2023
0.5.0a5 Jul 06, 2023
0.5.0a4 Apr 19, 2023
0.5.0a3 Mar 23, 2023
0.5.0a2 Mar 06, 2023
0.5.0a1 Feb 21, 2023
0.5.0a0 Oct 28, 2022
0.4.6 Oct 09, 2024
0.4.5 Jul 17, 2024
0.4.4 Apr 02, 2024
0.4.3 Jul 31, 2023
0.4.2 Jul 28, 2023
0.4.1 Jun 26, 2023
0.4.0 Oct 26, 2022
0.4.0rc1 Oct 25, 2022
0.4.0rc0 Oct 11, 2022
0.4.0b0 Oct 06, 2022
0.4.0a2 Oct 04, 2022
0.4.0a1 Sep 30, 2022
0.4.0a0 Sep 29, 2022
0.3.8 Apr 02, 2024
0.3.7 Jun 23, 2023
0.3.6 Jul 18, 2022
0.3.5 Mar 29, 2022
0.3.4 Mar 22, 2022
0.3.3 Mar 11, 2022
0.3.2 Feb 22, 2022
0.3.1 Jan 27, 2022
0.3.0 Dec 09, 2021
0.3.0rc0 Nov 17, 2021
0.3.0b0 Oct 28, 2021
0.3.0a2 Oct 14, 2021
0.3.0a1 Oct 06, 2021
0.3.0a0 Oct 05, 2021
0.2.17 Apr 02, 2024
0.2.16 Oct 04, 2021
0.2.15 Sep 25, 2021
0.2.14 Sep 17, 2021
0.2.13 Sep 15, 2021
0.2.12 Sep 10, 2021
0.2.11 Sep 02, 2021
0.2.10 Apr 28, 2021
0.2.9 Apr 13, 2021
0.2.8 Apr 12, 2021
0.2.7 Feb 19, 2021
0.2.6 Jan 11, 2021
0.2.5 Jan 11, 2021
0.2.4 Oct 20, 2020
0.2.3 Sep 23, 2020
0.2.2 Sep 17, 2020
0.2.1 Sep 16, 2020
0.2.0 Sep 16, 2020
0.2.0b1 Sep 10, 2020
0.2.0b0 Sep 08, 2020
0.2.0a3 Aug 19, 2020
0.2.0a2 Aug 18, 2020
0.2.0a1 Jun 02, 2020
0.2.0a0 May 27, 2020
0.1.24 Mar 24, 2021
0.1.23 Sep 03, 2020
0.1.22 Aug 17, 2020
0.1.21 Mar 02, 2020
0.1.20 Nov 12, 2019
0.1.19 Nov 12, 2019
0.1.18.post1 Feb 06, 2020
0.1.18 Nov 09, 2019
0.1.17 Oct 31, 2019
0.1.16 Oct 29, 2019
0.1.15 Oct 27, 2019
0.1.14 Oct 17, 2019
0.1.13 Oct 03, 2019
0.1.12 Sep 28, 2019
0.1.11 Sep 20, 2019
0.1.10 Aug 28, 2019
0.1.9 Jul 29, 2019
0.1.8 Jul 22, 2019
0.1.7 Jul 08, 2019
0.1.6 Jul 06, 2019
0.1.5 Jul 03, 2019
0.1.4 Jul 03, 2019
0.1.3 Jun 17, 2019
0.1.2 Jun 08, 2019
0.1.1 Jun 06, 2019
0.1.0 Jun 05, 2019
0.0.14 Jun 05, 2019
0.0.13 May 28, 2019
0.0.12 May 28, 2019
0.0.11 May 28, 2019
0.0.10 May 14, 2019
0.0.9 Mar 07, 2019
0.0.8 Jan 24, 2019
0.0.7 Jan 24, 2019
0.0.6 Dec 03, 2018
0.0.5 Nov 20, 2018
0.0.4 Oct 29, 2018
0.0.3 Oct 17, 2018
0.0.2 Oct 16, 2018
0.0.1 Sep 07, 2018
0.0.0 Aug 08, 2018

Wheel compatibility matrix

Platform Python 3
any

Files in release