thoralf-gutierrez / jupyterlab_templates

Support for jupyter notebook templates in jupyterlab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jupyterlab_templates

Support for jupyter notebook templates in jupyterlab

Build Status GitHub issues codecov PyPI PyPI npm

Install

pip install jupyterlab_templates
jupyter labextension install jupyterlab_templates
jupyter serverextension enable --py jupyterlab_templates

Adding templates

install the server extension, and add the following to jupyter_notebook_config.py

c.JupyterLabTemplates.template_dirs = ['list', 'of', 'template', 'directories']
c.JupyterLabTemplates.include_default = True

Templates for libraries

If you have tutorials or guides you'd like to install for users, simply copy them into your jupyter data folder inside the notebook_templates directory, e.g. /usr/local/share/jupyter/notebook_templates/bqplot for bqplot.

Flags

  • template_dirs: a list of directories. all .ipynb files in these directories will be listed as templates
  • include_default: include the default Sample template

About

Support for jupyter notebook templates in jupyterlab

License:Apache License 2.0


Languages

Language:TypeScript 83.2%Language:Python 9.9%Language:Jupyter Notebook 3.4%Language:Makefile 2.2%Language:JavaScript 1.3%