Recently, one of the contributors within the Jupyter ecosystem has announced the release of JupyterLab 3.0. The third major release comes with significant announcements, including support for multiple display languages, visual debugger, and more.
JupyterLab is a popular web-based interface for Jupyter Notebooks. JupyterLab enables users to perform work with documents such as Jupyter notebooks, text editors, custom components, among others in a flexible, integrated as well as extensible manner.
JupyterLab offers many intuitive features that enable data scientists and developers to work with notebooks, code, and data efficiently. The features include:
- Code consoles that provide transient scratchpads for running code interactively.
- Kernel-backed documents to enable code in any text file, including Python, R, LaTeX, etc.
- It provides multiple views of documents with various editors/ viewers for the editing of documents, and more in real-time.
Let’s have a glance at the latest update and features-
A New Visual Debugger
The developer’s team at JupyterLab acted on the longstanding request from the users, especially those accustomed to general-purpose development environments, to announce the first public release of Jupyter visual debugger in March 2020.
JupyterLab 3.0 is now shipped with a Debugger front-end by default. Notebooks, code consoles, and files can now be debugged from JupyterLab directly. For the debugger to be enabled and visible, a kernel with support for debugging is required.
Know more here.
Extensions can be installed without building JupyterLab with Node.js
JupyterLab is designed as an extensible environment, and the extensions can customise or enhance any part of JupyterLab. In the early versions, rebuilding JupyterLab required Node.js to be installed. JupyterLab 3.0 has also a new recommended way of distributing and installing extensions as Python pip or Conda packages.
The extensions can be easily installed without building JupyterLab with Node.js. However, the previous method of distributing extensions as npm packages requiring rebuilding JupyterLab is still available.
Know more here.
Multi-Language Support
JupyterLab will now allow setting the display language of the user interface. To be able to provide a new display language, you need to install a language pack.
Know more here.
Jupyter Server
The third release of JupyterLab has migrated and now depends on Jupyter Server, a new Jupyter project based on the server portion of the classic Notebook server.
Click here to know more about migration.
Command Palette
The command palette is now made into a floating window that appears on top of the JupyterLab workspace. This feature will enable the users to quickly invoke a command while keeping the sidebar closed or switching sidebar panels. However, the command palette can be put back into the sidebar by adjusting the default in Advanced Settings.
Some of the other major updates include:
- Improvements to Simple Interface mode and Mobile
- Table of Contents is now in core
- Visual filter in the file browser
- Property inspector moved to the right sidebar
- JupyterLab UI now supports translation extension
Steps to Install:
To install JupyterLab3.0 with pip, type:
pip install jupyterlab==3
With mamba, you need to type:
mamba install -c conda-forge jupyterlab=3
And with Conda, type:
conda install -c conda-forge jupyterlab=3
Wrapping Up
In the last few years, JupyterLab has attracted much attention from the developers in emerging technologies. The JupyterLab is known to fill the gap of Jupyter Notebook by providing richer UI and functionalities. The new updates and features will undoubtedly help developers work in a fast and more efficient manner.
JupyterLab will eventually replace the classic Jupyter Notebook. According to an official blogpost, throughout this transition, the same notebook document format will be supported by both the classic Notebook and JupyterLab.