PyConDE & PyData Berlin 2024

Jupyter Notebooks for Print Media
04-24, 15:20–15:50 (Europe/Berlin), B07-B08

In this talk, we will discuss leveraging Jupyter Notebooks to generate print media - books, magazine and newspaper articles, business reports, academic papers, etc. We will motivate the problem, introduce a library for accomplishing the task (nbprint), and walk through some end-to-end examples.


Jupyter Notebooks are the tool of choice for researchers and data scientists, and a lot of work has been done to take Jupyter Notebooks and turn them into standalone websites. From Voilà to Jupyter Book, with widget and app libraries galore, it has never been easier to take a notebook and produce an interactive website. In contrast, despite the origins of notebooks in academic research, comparatively less work has been done in building tools to take notebooks and produce print media - newspaper articles, business reports, textbooks, academic publications, etc.

In this talk, we will do four things. First, we will motivate print media as a good target for Jupyter Notebooks. We will do so through three worked examples:
- a data-driven news publications such as those from The New York Times
- a computer science textbook
- a business intelligence report

Second, we will highlight the correct set of technologies for producing notebook-derived print media. In particular, we will discuss NBPrint, a small NBConvert-based library that leverages paged.js, a free and open source library which has been used to produce real, printed books.

Third, we will give an end-to-end example from Jupyter Notebook to publication quality result for one of the above examples, showing a side-by-side comparison with the original media.

Finally, we will discuss the power of the notebook oriented approach, and discuss which disciplines might be best suited for adopting notebooks as the source format for their print-oriented media.


Expected audience expertise: Domain

Intermediate

Expected audience expertise: Python

Novice

Abstract as a tweet (X) or toot (Mastodon)

Jupyter Notebooks as a platform to create books, magazine and newspaper articles, and other print media

Quantitative Developer - Cubist Systematic Strategies
Associate in Computer Science - Columbia University

This speaker also appears in: