I daily use the jupyter lab for data analysis workflow. Recently I updated the jupyter lab and I found that the jupyterlab extension manager can be available. Since then I frequently check the jupyterlab extension to make my jupyter environment more useful and productive.
Jupyterlab Extension Manager -- T.Y. Blog
There are some stuffs I always use in the notebook such as description markdown cells and import-modules cells for notebooks. Today I found an extension for jupyterlab that seems useful for setting up templates.
Jupyterlab_template
Support for jupyter notebook templates in jupyterlab
Installation
Installation guide is available in github README.md. Since I use conda for package management, I install jupyterlab_templates using conda install ,
(base) tk$ conda install -c conda-forge jupyterlab_templates
Retrieving notices: ...working... done
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /Path/to/miniconda3
added / updated specs:
- jupyterlab_templates
The following packages will be downloaded:
package | build
---------------------------|-----------------
jupyterlab_templates-0.3.2 | pyh1d7be83_0 72 KB conda-forge
------------------------------------------------------------
Total: 72 KB
The following NEW packages will be INSTALLED:
jupyterlab_templa~ conda-forge/noarch::jupyterlab_templates-0.3.2-pyh1d7be83_0
Proceed ([y]/n)? y
Configuration file
(base) tk$ jupyter lab --generate-config
Writing default config to: /Path/to/home/.jupyter/jupyter_lab_config.py
c.JupyterLabTemplates.template_dirs = ['/Path/to/template/directory']
c.JupyterLabTemplates.include_default = True
c.JupyterLabTemplates.include_core_paths = True
^G Get Help ^O WriteOut ^R Read File ^Y Prev Pg ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where is ^V Next Pg ^U UnCut Text ^T To Spell