jupyter-widgets-takeover
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

jupyter-widgets-takeover

Github Actions Status

Let your widgets takeover your JupyterLab!

This extension is an experiment on how you can control your JupyterLab layout from Python.

Check out the Demo.ipynb.

TODO: Add ability to remove more chrome https://github.com/jupyterlab/jupyterlab/issues/2031

Requirements

  • JupyterLab >= 1.0

Install

jupyter labextension install jupyter-widgets-takeover @jupyter-widgets/jupyterlab-manager

Contributing

Install

The jlpm command is JupyterLab's pinned version of yarn that is installed with JupyterLab. You may use yarn or npm in lieu of jlpm below.

# Clone the repo to your local environment
# Move to jupyter-widgets-takeover directory
# Install dependencies
jlpm
# Build Typescript source
jlpm build
# Link your development version of the extension with JupyterLab
jupyter labextension install . @jupyter-widgets/jupyterlab-manager
# Rebuild Typescript source after making changes
jlpm build
# Rebuild JupyterLab after making any changes
jupyter lab build

You can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.

# Watch the source directory in another terminal tab
jlpm watch
# Run jupyterlab in watch mode in one terminal tab
jupyter lab --watch

Uninstall

jupyter labextension uninstall jupyter-widgets-takeover

Package Sidebar

Install

npm i jupyter-widgets-takeover

Weekly Downloads

3

Version

0.3.0

License

BSD-3-Clause

Unpacked Size

11.8 kB

Total Files

12

Last publish

Collaborators

  • saulshanabrook