nbdev live coding with Hamel Husain

27 Jan 2021 · 67 min
1:07:29

In this live‑coding session, Hamel Husain introduces the fast.ai ecosystem and then demonstrates how to build a full Python library using nbdev, a literate‑programming tool that lets you write code, tests, and documentation together in Jupyter notebooks. He walks through creating a GitHub repository from a template, configuring the settings.ini file, writing and exporting code (a Card class and a Deck class) from notebooks, adding documentation and tests inline, and using nbdev commands (buildlib, build‑docs, sync) to generate Python modules, documentation, and CI pipelines. He shows how GitHub Pages automatically hosts the docs, how GitHub Actions run the tests, and how to publish the package to PyPI. Throughout, Hamel answers audience questions about syncing code between VS Code and notebooks, the impact of nbdev on production code, career transitions from law to data science, future trends emphasizing software engineering in data science, and advice for early‑career data scientists. The session highlights nbdev’s ability to streamline software development, testing, documentation, and deployment for data‑science projects.

Chapters

More from Hamel

0:31
youtube.com

Not Every Bug Needs an Eval

3d ago
47:59
youtube.com

Can Claude Build Your Evals?

3d ago
0:46
youtube.com

How to Get Your Team to Care About Evals

4d ago
12:47
youtube.com

7 Most Common AI Eval Mistakes (From Teaching 5K+ Engineers & PMs)

4d ago
40:01
youtube.com

How To Test AI Agents With Simulations

6d ago
0:43
youtube.com

Why Your LLM Judge Should Say Pass or Fail, Not 1 to 5

1w ago
0:39
youtube.com

Don't Just Slap a Chatbot on Your Product

1w ago
19:56
youtube.com

Is Opus 5.5 Better At Writing?

1w ago
1:22
youtube.com

How to Do Error Analysis When You Can't Look at the Data

1w ago
13:24
youtube.com

I Ranked Every AI Eval Concept From Worst to Best

1w ago
0:38
youtube.com

Why We Tell People to Read 100 Traces

1w ago
See all content