jupyterlab_powerpoint

Creating PowerPoints from jupyter notebooks

https://dev.azure.com/tpaine154/jupyter/_apis/build/status/timkpaine.jupyterlab_powerpoint?branchName=masterBuild Status https://img.shields.io/azure-devops/coverage/tpaine154/jupyter/12/masterCoverage https://img.shields.io/github/issues/timkpaine/jupyterlab_powerpoint.svgGitHub issues https://img.shields.io/pypi/l/jupyterlab_powerpoint.svgPyPI https://img.shields.io/pypi/v/jupyterlab_powerpoint.svgPyPI https://img.shields.io/npm/v/jupyterlab_powerpoint.svgnpm

Install

pip install jupyterlab_powerpoint
jupyter labextension install jupyterlab_powerpoint
jupyter serverextension enable --py jupyterlab_powerpoint

Workflow

  • Generate a notebook from a prexisting notebook (includes metadata necessary to reconstruct the original powerpoint)
  • Parameterize notebook, modify parts/text/data
    • hook in to Papermill, leverage python, rexecute daily, etc
  • Generate a powerpoint from the notebook

API Documentation

jupyterlab_powerpoint.extension.load_jupyter_server_extension(nb_server_app)[source]

Called when the extension is loaded.

Parameters:nb_server_app (NotebookWebApplication) – handle to the Notebook webserver instance.
class jupyterlab_powerpoint.presentation.Part(placeholder, value=None)[source]

Bases: object

name()[source]
placeholder()[source]
class jupyterlab_powerpoint.presentation.Presentation(master_or_presentation=None)[source]

Bases: object

static from_notebook(nb, master)[source]

Convert an nbformat.NotebookNode to a Presentation object

new_slide(type)[source]
presentation()[source]
slide_types()[source]
slides()[source]
to_notebook()[source]

Convert a presentation object to a nbformat.NotebookNode object

to_notebook_master()[source]

Convert presentation’s slidemaster to a nbformat.NotebookNode object

to_presentation(filename)[source]
class jupyterlab_powerpoint.presentation.Slide(slide)[source]

Bases: object

layout()[source]
name()[source]
new_part(type)[source]
part_types()[source]
parts()[source]
placeholder_types()[source]
slide()[source]