Skip to main content

Tools for rendering notebooks suitable for teaching

Project description

NBfancy

(C) 2019 Jack Betteridge (j.d.betteridge@bath.ac.uk) and James Grant (r.j.grant@bath.ac.uk)

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.

Documentation

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.

Source Distribution

nbfancy-0.1a1.tar.gz (157.9 kB view hashes)

Uploaded Source

Built Distribution

nbfancy-0.1a1-py3-none-any.whl (169.4 kB view hashes)

Uploaded Python 3

Supported by

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