Week 2 - Structuring Pipelines
Introduction to Data Pipelines
Configuration & Secrets (.env)
Linting and Formatting with Ruff
Week 2 Assignment: Clean Pipeline
The slide deck used in the Week 2 in-class kickoff session. The deck covers: welcome back + recap, the live quiz, chapter-by-chapter tour (Ch1-8), 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 (ยง8) when you start the assignment at home.
</aside>
week_2__presentation.pdf
__post_init__), Ch6 (functional composition + spread pattern), Ch7 (pytest fixtures + parametrize), Ch8 (Ruff format + check).Pipeline class.The slides are deliberately student-facing only. The teacher's per-section script (pacing, quiz answer cribs, exercise reference solutions, deep-dive default topics, closer rubric) lives in the GitHub-only week_2__lesson_plan.md (visible on GitHub only; not synced to Notion, so no link from this page).
The two live exercises the deck showcases come from the Learning-Resources repo. One Codespace covers both:
| Section | Exercise | Codespace folder |
|---|---|---|
| ยง3 Live Exercise A (recommended) | Ex 3: Separate I/O from Logic | data-track/week-2/exercise_3/ |
| ยง3 Live Exercise A (alternative) | Ex 1: Move Secrets to .env | data-track/week-2/exercise_1/ |
| ยง7 Live Exercise B (recommended) | Ex 4: Write Tests with Pytest | data-track/week-2/exercise_4/ |
| ยง7 Live Exercise B (alternative) | Ex 2: Model Data with a Dataclass | data-track/week-2/exercise_2/ |
The teacher chooses which to run live based on quiz wrong-pick patterns. Solutions live in each exercise_N/solutions/ folder.
The HackYourFuture curriculum is licensed underย CC BY-NC-SA 4.0 *https://hackyourfuture.net/*

Built with โค๏ธ by the HackYourFuture community ยท Thank you, contributors
Found a mistake or have a suggestion? Let us know in the feedback form.