Notebook templates
Project description
jupyterlab_templates
Support for jupyter notebook templates in jupyterlab
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
c.JupyterLabTemplates.include_core_paths = True
Templates for libraries
The extension will search subdirectories of each parent directory specified in template_dirs
for templates.
The notebook_templates
directory under the jupyter data folder is one of the default parent directory. Thus, 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 absolute directory paths. All.ipynb
files in any subdirectories of these paths will be listed as templatesinclude_default
: include the default Sample template (default True)include_core_paths
: include jupyter core paths (see: jupyter --paths) (default True)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jupyterlab_templates-0.2.3.tar.gz
(227.0 kB
view hashes)
Built Distribution
Close
Hashes for jupyterlab_templates-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e8cb27fb1221b40f0a9a88dc0e945fc707444f2109c3a2b019804046a19de2d |
|
MD5 | 718bbef03066a9c6a5b9f91b6e874f36 |
|
BLAKE2b-256 | cec3c4bf66e29899c607811074ca0364987680fcd4aeb982a7391552f9c0b16a |
Close
Hashes for jupyterlab_templates-0.2.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e562f6553b7c35f205698c5c2796d451102e540f273135c87098056371fbba4b |
|
MD5 | 3972840b70b551b8def72e168e0f6085 |
|
BLAKE2b-256 | a1ce8d82d0ffc6811f846346e9c9f1f00c4c8eaaa7d76becd1c217cc9e15af8b |