jupyterlab的iframe小部件
jupyterlab_iframe的Python项目详细描述
#朱庇特实验室 在小部件中打开站点,或添加一组“快速链接”。
[![生成状态](https://travis-ci.org/timkpaine/jupyterlab_iframe.svg?branch=master)](https://travis-ci.org/timkpaine/jupyterlab_iframe) [![github问题](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)
##安装 `bash pip install jupyterlab_iframe jupyter labextension install jupyterlab_iframe jupyter serverextension enable --py jupyterlab_iframe `
##选项 ###示例 安装服务器扩展,并将以下内容添加到jupyter_notebook config.py
`python3 c.JupyterLabIFrame.iframes = ['list', 'of', 'sites'] c.JupyterLabIFrame.welcome = 'a site' `
在本例中,list、of和sites将作为命令选项板中的链接提供,并且站点将在第一次打开jupyterlab时默认打开。
##注意事项 ###版本v0.0.12的更新-其中大部分内容包含在31中
~~此包使用iframes,因此受到一些限制:~~ ~~-如果jlab是通过ssl提供的,那么站点也必须如此(http/https必须匹配)~~ ~~-如果基础站点强制使用相同的源,则我们无法导航到它们(例如google)~~
##类似的包装 -[jupyterlab html](https://github.com/mflevine/jupyterlab_html)在iframe中将本地html文件显示为网站 -[朱庇特实验室沙箱](https://github.com/canavandl/jupyterlab_sandbox) -[主要JLAB问题](https://github.com/jupyterlab/jupyterlab/issues/2369)