A good notebook turns a formula on the board into an experiment: students change a parameter and see how a Fourier series or an eigenvalue problem behaves. Maintaining Jupyter notebooks for lectures is tedious, though, because cells depend on hidden state, diffs are barely readable and something quietly breaks after a library update. In this workshop you have a coding agent develop notebooks from your lecture content, pair them with readable text files using Jupytext, test them automatically and prepare them for a JupyterHub or a course website.
Who the Jupyter workshop is for
Lecturers and teaching staff in maths, physics, statistics and engineering who support lectures or problem classes with Jupyter notebooks and have basic Python skills.
What you'll walk away with
- Plan notebooks that guide students step by step through a lecture topic
- Use Jupytext-paired text files so that the agent and Git work cleanly with notebooks
- Add interactive elements with ipywidgets, such as sliders for parameters
- Run notebooks top to bottom automatically and test them with nbval
- Publish notebooks on a JupyterHub, as downloads or as a course website with Jupyter Book
Typical scenarios
- For a numerical methods lecture, a notebook lets students change the step size of the explicit Euler method and watch instability appear.
- A linear algebra group switches its notebooks to Jupytext, and the agent's changes finally show up as readable diffs in review.
- Before term starts, a CI pipeline runs every notebook of a statistics lecture and reports cells that give different results after a library update.
Does this fit your team?
Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.
What the Jupyter workshop covers
- Planning notebooks for teachingStructure, a clear thread, room for students' own experiments, and what belongs in a notebook rather than the lecture notes.
- The agent and the notebook formatWhy agents struggle with raw notebook JSON and how Jupytext gives the agent and Git readable sources.
- Developing content with the agentFrom board notes to notebook: calculations, plots and explanations that the agent drafts and you check for correctness.
- InteractivitySliders and drop-downs with ipywidgets, sensible value ranges and widget-free variants for static output.
- Testing and maintenanceRunning notebooks automatically, comparing results with nbval, pinning dependencies and stripping output before each commit.
- PublishingThe university's JupyterHub, download packages or a course website with Jupyter Book, compared side by side.
Before the Jupyter workshop: prerequisites
- Basic Python skills and some experience with Jupyter
- A lecture topic for which you would like to build a notebook
- Jupyter installed locally or access to a JupyterHub, plus a coding agent
Materials you keep
- A repository template for lecture notebooks with Jupytext, tests and an instruction file
- A notebook on your lecture topic developed during the workshop
- A checklist for notebooks that work in teaching