How achahbounsaadallah/project-etl-for-credits works
This repository implements an Airflow-orchestrated credit-data ETL: Excel workbooks for several reporting periods and layouts are normalized into staging records, loaded to SQL Server, transformed into a dimensional warehouse, and followed by a Power BI dataset refresh. Collector modules handle distinct workbook formats; the shared collector combines them before the database loader writes staging. The sampled DAG shows the runtime order. The README is empty, so unsampled capabilities and integrations are not inferred; edges below are limited to relationships visible in excerpts.
Main entry points: All_stg_data.py Combined staging data · etl_load_staging.py ETL DAG · connection_to_db.py Staging loader · add_data_to_DW.py Warehouse transform
Components 17
Workbook ingestion
- 2024–25 collector
scripts/Raw_Data_collecte_from_excel2024_et_2025.py - Nonstandard 2025 collector
scripts/not_like_others_2025.py - 2026 collector
scripts/collecte_2026.py - 2026 v2 collector
scripts/collecte_2026_v2.py - Combined staging data
scripts/All_stg_data.py
Pipeline orchestration
- ETL DAG
dags/etl_load_staging.py - Staging loader
scripts/connection_to_db.py
SQL warehouse
- Staging database
- Warehouse transform
spark/add_data_to_DW.py - Warehouse schema setup
spark/Creation_of_DW_in_mysql.py - Credit data warehouse
BI refresh
- Power BI refresh
powerbi/powerbi.py - Retrying refresh client
powerbi/pb2.py
Other components
- Pipeline operator
- Credit workbooks
- Azure AD
- Power BI service
Connections 21
- Pipeline operator → ETL DAG: triggers
- Credit workbooks → 2024–25 collector: reads
scripts/Raw_Data_collecte_from_excel2024_et_2025.py - Credit workbooks → Nonstandard 2025 collector: reads
scripts/not_like_others_2025.py - Credit workbooks → 2026 collector: reads
scripts/collecte_2026.py - Credit workbooks → 2026 v2 collector: reads
scripts/collecte_2026_v2.py - Combined staging data → 2024–25 collector: calls
scripts/All_stg_data.py - Combined staging data → Nonstandard 2025 collector: calls
scripts/All_stg_data.py - Combined staging data → 2026 collector: calls
scripts/All_stg_data.py - Combined staging data → 2026 v2 collector: calls
scripts/All_stg_data.py - ETL DAG → Staging loader: runs
dags/etl_load_staging.py - Staging loader → Combined staging data: calls
scripts/connection_to_db.py - Staging loader → Staging database: writes staging
scripts/connection_to_db.py - ETL DAG → Warehouse transform: runs
dags/etl_load_staging.py - Warehouse transform → Staging database: reads staging
spark/add_data_to_DW.py - Warehouse transform → Credit data warehouse: writes dimensions and facts
spark/add_data_to_DW.py - Warehouse schema setup → Credit data warehouse: creates tables
spark/Creation_of_DW_in_mysql.py - ETL DAG → Power BI refresh: runs
dags/etl_load_staging.py - Power BI refresh → Azure AD: requests token
powerbi/powerbi.py - Power BI refresh → Power BI service: triggers and polls refresh
powerbi/powerbi.py - Retrying refresh client → Azure AD: requests token
powerbi/pb2.py - Retrying refresh client → Power BI service: triggers and polls refresh
powerbi/pb2.py