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


Download files

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

Source Distribution

qtvoila-0.1.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

qtvoila-0.1.0-py2.py3-none-any.whl (4.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file qtvoila-0.1.0.tar.gz.

File metadata

  • Download URL: qtvoila-0.1.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for qtvoila-0.1.0.tar.gz
Algorithm Hash digest
SHA256 47ddb1da34fc8753b354790d2e5fc180a1b718bed042b4a0968be8cd4db785a8
MD5 e547e7300e2a7526785af0925c738126
BLAKE2b-256 44c2731265d8f639036130a3f04c6f108b170a8c5a0d188efc001569a2c57186

See more details on using hashes here.

File details

Details for the file qtvoila-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: qtvoila-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for qtvoila-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3ca18948444811143d6c5c9ae7432ce6d764e9ffbe789520ad634987d7533027
MD5 fba9eba1136e30fc777a42e515443dbd
BLAKE2b-256 3582f728222781b0468c23682b2d1e9db613b106628f0675cad36023ceda6d99

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page