Skip to main content

A Qt for Python extension for Voila

Project description

QtVoila

A Qt for Python extension for Voila!

Introduction

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.

Installation

$ pip install git+https://github.com/luiztauffer/qtvoila.git

Usage

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()

Examples

Find the code for the example below at examples:

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for qtvoila, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size qtvoila-0.1.0-py2.py3-none-any.whl (4.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size qtvoila-0.1.0.tar.gz (9.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page