Skip to main content

IFrame widgets for JupyterLab

Project description

# jupyterlab_iframe Open a site in a widget, or add a set of “quicklinks”.

[![Build Status](https://travis-ci.org/timkpaine/jupyterlab_iframe.svg?branch=master)](https://travis-ci.org/timkpaine/jupyterlab_iframe) [![GitHub issues](https://img.shields.io/github/issues/timkpaine/jupyterlab_iframe.svg)]() [![codecov](https://codecov.io/gh/timkpaine/jupyterlab_iframe/branch/master/graph/badge.svg)](https://codecov.io/gh/timkpaine/jupyterlab_iframe) [![PyPI](https://img.shields.io/pypi/l/jupyterlab_iframe.svg)](https://pypi.python.org/pypi/jupyterlab_iframe) [![PyPI](https://img.shields.io/pypi/v/jupyterlab_iframe.svg)](https://pypi.python.org/pypi/jupyterlab_iframe) [![npm](https://img.shields.io/npm/v/jupyterlab_iframe.svg)](https://www.npmjs.com/package/jupyterlab_iframe)

![](https://raw.githubusercontent.com/timkpaine/jupyterlab_iframe/master/docs/example1.gif)

## Install `bash pip install jupyterlab_iframe jupyter labextension install jupyterlab_iframe jupyter serverextension enable --py jupyterlab_iframe `

## Options ### Example install the server extension, and add the following to jupyter_notebook_config.py

`python3 c.JupyterLabIFrame.iframes = ['list', 'of', 'sites'] c.JupyterLabIFrame.welcome = 'a site' `

In this example, list, of, and sites will be available as links in the command palette, and a site will open by default the first time JupyterLab is opened.

## Caveats ### Update for version v0.0.12 - Most of these are covered by #31

~~This package uses iframes, so is subject to a few restrictions:~~ ~~- If Jlab is served over SSL, so must the sites (http/https must match)~~ ~~- If the underlying site enforces same-origin, then we cannot navigate to them (e.g. google)~~

## Similar Packages - [Jupyterlab-html](https://github.com/mflevine/jupyterlab_html) displays local html files as websites in an iframe - [Jupyterlab-sandbox](https://github.com/canavandl/jupyterlab_sandbox) - [Main JLab Issue](https://github.com/jupyterlab/jupyterlab/issues/2369)

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

jupyterlab_iframe-0.0.12.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file jupyterlab_iframe-0.0.12.tar.gz.

File metadata

  • Download URL: jupyterlab_iframe-0.0.12.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for jupyterlab_iframe-0.0.12.tar.gz
Algorithm Hash digest
SHA256 400b9ab7c568f11a7beb3c30d7d6bc4cbf1ddec31cc2bff57cc7c7414876c199
MD5 b29f5c3191504b467d391532011c7506
BLAKE2b-256 6c6d7e0ad1f0c01c4897bf5f8d785a7faca371dbd1b7521fdb930198961655d6

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