How dave-melillo/data_eng_ai works
This is a companion-code repository for a hands-on data-engineering book, not a single deployable application. Its principal learning workflow progresses from prompting and API use through data-quality and transformation techniques to Airflow-orchestrated AI pipelines. The chapter 8 news DAG makes that workflow concrete: it extracts news, transforms it with AI, categorizes and checks quality, then writes to PostgreSQL. The graph preserves README-documented capabilities as well; several chapter branches are represented at directory level because their source was not sampled.
Main entry points: news_pipeline_dag.py News ETL DAG · 12_3.py URL discovery agent · world_series_pipeline.py Game analysis DAG · 2_2_sample_response.py Prompting examples
Components 17
AI Foundations
- Prompting examples
ch02/2_2_sample_response.py - SQL prompting
ch03 - Python with AI
ch04
Data Workflows
- OpenAI workflows
ch05/listings - Data quality
ch06/listings - Advanced transformations
ch07/listings
AI Orchestration
- Lifecycle agents
ch08/listing - News ETL DAG
ch08/airflow_project/dags/news_pipeline_dag.py - Game analysis DAG
ch09/airflow_project/dags/world_series_pipeline.py
Advanced Applications
- Web scraping
ch10 - AI data opportunities
ch11 - URL discovery agent
ch12/listings/12_3.py
Other components
- Data engineer
- NewsAPI
- OpenAI API
- PostgreSQL
- Apache Airflow
Connections 17
- Data engineer → Prompting examples: learns prompting
README.md - Data engineer → SQL prompting: learns SQL
README.md - Data engineer → Python with AI: learns Python
README.md - Data engineer → OpenAI workflows: builds API workflows
README.md - Data engineer → Data quality: learns validation
README.md - Data engineer → Advanced transformations: learns transformations
README.md - Data engineer → Lifecycle agents: studies agents
README.md - Data engineer → Game analysis DAG: studies orchestration
README.md - Data engineer → Web scraping: studies scraping
README.md - Data engineer → AI data opportunities: studies AI uses
README.md - Data engineer → URL discovery agent: explores URL discovery
README.md - News ETL DAG → NewsAPI: fetches articles
ch08/airflow_project/dags/news_pipeline_dag.py - News ETL DAG → OpenAI API: enriches articles
ch08/airflow_project/dags/news_pipeline_dag.py - News ETL DAG → PostgreSQL: writes articles
ch08/airflow_project/dags/news_pipeline_dag.py - Apache Airflow → News ETL DAG: runs DAG
README.md - Apache Airflow → Game analysis DAG: runs DAG
README.md - URL discovery agent → OpenAI API: ranks candidates
ch12/listings/12_3.py