Skip to main content

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

Example 1

You can use the jupyter-singleton display function similar to the IPython display function. However, here the result will be shown in a new browser window.

from ipywidgets import Label
from jupyter_singleton.direct import display

display(Label('I will be displayed in a browser window'))
display(Label('I will be displayed in another browser window'))

Example 2

You can also use jupyter-singletons open_singleton function to activate a jupyter output-cell in a new browser window. Than you can use the traditional IPython display function to show your widgets, as well as ipywidgets interact function.

from IPython.display import display
from ipywidgets import interact, Label
from jupyter_singleton.direct import open_singleton


def f(x):
    return x


open_singleton()
interact(f, x=10)
display(Label('I will be displayed in the same browser window as the interact-slider'))

Dependencies

  • ipykernel (version >= 5.1.1)
  • IPython (version >= 7.5.0)
  • jinja2 (version >= 2.10.1)
  • jupyter_client (version >= 5.2.4)
  • jupyter_nbextensions_configurator (version >= 0.4.1)
  • notebook (version >= 5.7.8)
  • tornado (version >= 6.0.2)

Installation

$ pip install jupyter-singleton

License

This software is licensed under the MIT license. See the LICENSE file for details.

Metadata

Release files for jupyter-singleton 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyter-singleton 0.1.0
File Size Uploaded Provenance Actions
jupyter_singleton-0.1.0.tar.gz 11.4 kB Without provenance Details for jupyter_singleton-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jupyter-singleton 0.1.0
File Interpreter ABI Platform Actions
jupyter_singleton-0.1.0-py3-none-any.whl Python 3 none any Details for jupyter_singleton-0.1.0-py3-none-any.whl

Total release size: 25.5 kB

Release files / jupyter_singleton-0.1.0.tar.gz

Download URL jupyter_singleton-0.1.0.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f9589030b1da9fcabcbe8db190f49fb7f44084db31df35ae7902923e4a5892ef
BLAKE2b-256 checksum
How to use checksums
a175520bbead8eab47fad36064fc7d324c714d0ef07d5edaed6c8917881ccd28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / jupyter_singleton-0.1.0-py3-none-any.whl

Download URL jupyter_singleton-0.1.0-py3-none-any.whl
Size 14.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f01f3beb2b7d99fb8258b13ff673624f96149448a54743f0a9fda24728080ee0
BLAKE2b-256 checksum
How to use checksums
b979b9e1628d2c92805739f929afc2ae6d619f7a7d44589b12856d3b879604e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Security for jupyter-singleton 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page