Skip to main content

Javascript based Jupyter Notebook additions (Table of Content, hide code, Figure numbers, ...)

Project description

Index for Jupyter notebooks

nbindex is a small package containing several Javascript additions for Jupyter notebooks like a Table of Content or a Code Hider. These additions are designed to be executed in a notebook cell so that the added HTML and Javascript functions will remain hidden in the cell output and can be exported by the regular HTML export of Jupyter.

Installation:

pip install nbindex-jupyter

Usage

ToC and CodeHider

from nbindex import utils, floating
floating.tableofcontent()
floating.codehider()

toc_codehider.png

Numbered objects (Figures, ...)

from nbindex import numbered
numbered.Figure()
numbered.object("Figure")

numbered.png

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nbindex-jupyter-0.1.2.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file nbindex-jupyter-0.1.2.tar.gz.

File metadata

  • Download URL: nbindex-jupyter-0.1.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.4.5

File hashes

Hashes for nbindex-jupyter-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e7514ce8ad0d4531b4d1f59ec27cafef6e3b97d63315347ebd5455c44240954c
MD5 aa77a654ba04e89f764377090836df90
BLAKE2b-256 d0870f312eda5ba0d13001c85a026692c6e91558bbc3600f30538a76ede15097

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page