Introduction to Data Pipelines
Configuration & Secrets (.env)
Separation of Concerns (I/O vs Logic)
Dataclasses for Data Objects
OOP vs Functional Programming
Functional Composition
Testing with Pytest
Practice
Assignment: A Clean Pipeline
Gotchas & Pitfalls
Back to Track
Content
8. Practice
Content coming soon...
Concepts to Cover
- Exercise: Hardcoded secrets — move credentials to
.env using python-dotenv
- Exercise: Data blueprint — define strict data shapes with Dataclasses
- Exercise: Hidden side effect — fix the mutable default argument bug with pure functions
- Exercise: First test — write and run Pytest assertions for a simple function
- Exercise: "God Function" split — refactor monolithic code into I/O, logic, and orchestration

*https://hackyourfuture.net/*
Found a mistake or have a suggestion? Let us know in the feedback form.