Jupyter Notebook to PDF Converter


License
BSD-3-Clause
Install
pip install nb2pdf==0.6.2

Documentation

Jupyter Notebook to PDF Converter

Build Status codecov

This package converst Jupyter Notebooks (.ipynb files) to PDFs using nbconvert. It is designed to create manual submissions for the Python local grader being developed by the UC Berkeley Division of Data Science and Information.

Usage

The converter by default leaves all cells alone but removes code cells without an image in the output. (This is designed to output graphs generated in notebooks in the PDF.) Using metadata tags, cells can be included (with the include tag) or excluded (with the ignore tag).

Changelog

v0.4.0: Added autosave on export from Jupyter Notebook environment