Skip to main content

Tools for rendering notebooks suitable for teaching

Project description


(C) 2019 Jack Betteridge ( and James Grant (

This repository contains NBfancy, a tool for adding decoration and extended features to Jupyter notebooks. The code was developed by Jack Betteridge and James Grant for the development of programming training material: arc-bath and arc-lessons.


The install contains the tools which make up the build system for enriching notebooks, and by way of example, also contains the documentation in the form of a tutorial. This material will assist users in creating their own courses, as both a lesson and demonstration of NBfancy's capabilities.

Jupyter notebooks were chosen as the medium for out training material as:

  • They use markdown which is simple to use even for those not familiar.
  • Modifying individual codeblocks is intuitive compared with Sphinx/Jekyll builds.
  • We like being able to mix markdown and executable codeblocks in training material.

In order to retain these features we created NBfancy to process initial notebooks into enriched Jupyter notebooks for interactive use by students, html pages for lesson material and pdfs for distribution as printouts (coming in a future release).

The documentation/tutorial is available online in rendered html

The library has recently undergone a signficant refactoring so please raise an issue if you encounter any trouble using nbfancy or incosistencies in the documentation.

Contributions to NBfancy

If you would like to contribute to NBfancy please fork the repository and create a pull request against the development branch.

Project details

Download files

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

Files for nbfancy, version 0.1a3
Filename, size File type Python version Upload date Hashes
Filename, size nbfancy-0.1a3-py3-none-any.whl (321.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size nbfancy-0.1a3.tar.gz (170.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page