An extensible computational environment for Jupyter.
JupyterLab is a very early developer preview, and is not suitable for general usage yet. Features and implementation are subject to change.
With JupyterLab, you can create a computational environment for Jupyter that meets your workflow needs. Here's a quick preview of JupyterLab:
Jupyter notebook version 4.2 or later. To check the notebook version:
jupyter notebook --version
From the command line:
pip install jupyterlab
jupyter serverextension enable --py jupyterlab
Start up JupyterLab:
jupyter lab
JupyterLab will open automatically in your browser. You may also access
JupyterLab by entering the notebook server's URL (http://localhost:8888
) in
the browser.
- Jupyter notebook version 4.2 or later
- NodeJS (preferably version 5 or later) and npm
- Optionally (if you plan to use ipython widgets in the notebook): ipywidgets dev master installed from https://github.com/ipython/ipywidgets
Fork the JupyterLab repo using the GitHub UI. Clone the repo and build using these commands:
git clone https://github.com/<your-github-username>/jupyterlab.git
cd jupyterlab
npm install
pip install -e . # will take a long time to build everything
jupyter serverextension enable --py jupyterlab
Start JupyterLab:
jupyter lab
Alternatively, you can run JupyterLab in debug mode:
jupyter lab --debug
npm test
To install and build the examples in the examples
directory:
npm run build:examples
To run a specific example, change to the example's directory (i.e.
examples/filebrowser
) and enter:
python main.py
To build the API docs:
npm run docs
Navigate to docs/index.html
.
The JupyterLab application is made up of two major parts:
- an npm package
- a Jupyter server extension (Python package)
Each part is named jupyterlab
. The developer tutorial documentation
provides additional architecture information.
The npm package source files are in the src/
subdirectory.
Prerequisites
- node (preferably version 5 or later)
- Jupyter notebook server version 4.2 or later (to run examples)
npm install --save jupyterlab
git clone https://github.com/jupyter/jupyterlab.git
cd jupyterlab
npm install
npm run build:all
Rebuild
npm run clean
npm run build:all
The Jupyter server extension source files are in the jupyterlab/
subdirectory. To use this extension, make sure the Jupyter notebook server
version 4.2 or later is installed.
When you make a change to JupyterLab npm package source files, run:
npm run build:serverextension
to build the changes and then refresh your browser to see the changes.
To have the system build after each source file change, run:
npm run watch:serverextension
and refresh the browser.
Follow the package install instructions first.
Any bundler that understands how to require()
files with .js
and .css
extensions can be used with this package.
Note: This npm module is fully compatible with Node/Babel/ES6/ES5. Simply omit the type declarations when using a language other than TypeScript.
The runtime versions which are currently known to work:
- IE 11+
- Firefox 32+
- Chrome 38+
Earlier browser versions may also work, but come with no guarantees.
Note: "requirejs" must be included in a global context (usually as a
<script>
tag) for Comm targets.
We publish an npm package, a Python source package, and a Python universal binary wheel.
npm version patch
git push origin master --tags
npm publish
python setup.py sdist upload
python setup.py bdist_wheel --universal upload