Week 3 - Ingesting and Validating Data

Introduction to Data Ingestion

Ingesting from APIs

Production Error Handling

Reading Multiple File Formats

Data Validation with Pydantic

Writing to Databases

Gotchas & Pitfalls

Practice

Assignment: Build a Validated Ingestion Pipeline

Career relevance: Week 3

Week 3 Glossary

Going Further: Optional Deep Dives

Week 3 Kickoff Slides

History: APIs and Data Transfer

📊 Week 3 Kickoff Slides

The slide deck used in the Week 3 in-class kickoff session. The deck covers: welcome back + recap, the live quiz, chapter-by-chapter tour (Ch1-6), two live exercises from the practice chapter, the agenda card, the assignment scaffold tour, and the closing hand-written reflection.

<aside> 💡 Use this as a recap. If you missed class or want to re-walk the agenda, the deck mirrors the structure of the lesson: same section numbers, same order. Especially useful for the assignment-launch walk-through (§9) when you start the assignment at home.

</aside>

Download

week_3__presentation.pdf

week_3__presentation.pdf

What's in it

The slides are deliberately student-facing only. The teacher's per-section script (pacing, quiz answer cribs with common-wrong-pick analysis, exercise reference solutions, deep-dive default topics, closer rubric) lives in the GitHub-only week_3__lesson_plan.md (visible on GitHub only; not synced to Notion, so no link from this page).

Practice exercises (referenced in the live exercise slides)

The two live exercises the deck showcases come from the Learning-Resources repo. One Codespace covers all six exercises:

Section Exercise Codespace folder
§3 Live Exercise A (recommended) Ex 1: Write a Retry Function data-track/week-3/exercise_1/
§3 Live Exercise A (alternative) Ex 2: Paginated API Fetch data-track/week-3/exercise_2/
§7 Live Exercise B (recommended) Ex 5: SQLite Writer data-track/week-3/exercise_5/
§7 Live Exercise B (alternative) Ex 4: Pydantic Validation data-track/week-3/exercise_4/

The teacher chooses which to run live based on quiz wrong-pick patterns. Solutions live in each exercise_N/solutions/ folder, with # WHY ...: commentary under every non-obvious choice: read the reasoning, do not copy the code verbatim.


The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0 *https://hackyourfuture.net/*

CC BY-NC-SA 4.0 Icons

Built with ❤️ by the HackYourFuture community · Thank you, contributors

Found a mistake or have a suggestion? Let us know in the feedback form.