Pretty Jupyter

a simple package for beautiful & dynamic reports

Demo Preview

Introduction

Pretty Jupyter is a simple package that creates beautifully styled and dynamic html webpage from Jupyter notebook.

Check out the demo and compare it with the default jupyter.

Main Features

  • πŸ‘‰ Visually appealing styles.
  • πŸ‘‰ Table of Contents can be automatically generated.
  • πŸ‘‰ Using Python variables in Markdown.
  • πŸ‘‰ Tabsets for hiding section content behind clickable tabs.
  • πŸ‘‰ Code Folding: Show/Hide code to filter out unnecessary content.
  • πŸ‘‰ Themes: Selection from a wide variaty of available themes.
  • πŸ‘‰ Wide range of configuration options with sensible defaults.
  • πŸ‘‰ Unobtrusive syntax that works well in notebook environments.

All these features are integrated directly in the output html page. Therefore there is no need for an interpreter running in the backend.

Installation

pip install pretty-jupyter

Usage

jupyter nbconvert --to html --template pj /path/to/ipynb/file

Resources

Credits

  • RMarkdown: RMarkdown served as a great inspiration when making this package.
  • nbconvert: Pretty Jupyter uses nbconvert underhood. Its great extendability allowed this project to be created.
Back to top