jupyter notebook wrapper for making output cells available outside of notebook
Project description
jupyter-singleton
Introduction
jupyter-singleton is a wrapper for the jupyter notebook that allows using output cells from outside of the jupyter notebook
environment. Thus it enables you to use ipywidgets
and Grammar of Graphics packages whilst programming in your favorite IDE.
Usage
import ipywidgets as widgets
from IPython.display import display
from jupyter_singleton.launcher import launch
def test_fun(open_singleton):
open_singleton()
print('this will be shown in browser window')
label = widgets.Label(value='this too')
display(label)
open_singleton()
print('this will be shown in another browser window')
if __name__ == '__main__':
launch(test_fun)
# this will never be reached unless jupyter client gets killed
Dependency
notebook
(version >= 5.7.8)
Installation
$ pip install jupyter-singleton
License
This software is licensed under the MIT license. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for jupyter_singleton-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43c789e0ee9e8c4fc7d7ea46741249406b7faece02027b1b825fdbeb95cf5d41 |
|
MD5 | 394f0d13e6457cb401170077d2a9ad74 |
|
BLAKE2b-256 | 1da7a3313e8f59a55d2a0ba79e93661b3a39f624bd5f6b646f1d12a656468734 |