How pavankalyanreddypk399/weather-etl-pipeline works
This is a small Python batch weather ETL pipeline. Running pipeline.py selects three cities, fetches hourly weather data for each, transforms each response into a cleaned DataFrame, combines the results, and loads them into PostgreSQL. Extraction uses Open-Meteo; loading replaces the weather_hourly table and checks its row count. The README confirms the ETL technologies but documents no scheduler or separate user interface. The graph follows the shown runtime calls; standalone examples in individual modules are omitted.
Main entry points: pipeline.py Pipeline runner · extract.py Weather extractor · load.py PostgreSQL loader · transform.py Weather transformer
Components 7
Orchestration
- Pipeline runner
pipeline.py
Data processing
- Weather transformer
transform.py
External integrations
- Weather extractor
extract.py - Open-Meteo API
- PostgreSQL loader
load.py - PostgreSQL database
Other components
- Pipeline operator
Connections 7
- Pipeline operator → Pipeline runner: runs
pipeline.py - Pipeline runner → Weather extractor: calls per city
pipeline.py - Weather extractor → Open-Meteo API: requests weather
extract.py - Open-Meteo API → Weather extractor: returns response
extract.py - Pipeline runner → Weather transformer: transforms response
pipeline.py - Pipeline runner → PostgreSQL loader: loads combined data
pipeline.py - PostgreSQL loader → PostgreSQL database: writes and verifies
load.py