Luis Alvergue

Controls engineer by training, transportation engineer by trade

Simple ETL pipeline using Python, MySQL, and crontab

5 minutes
May 31, 2021

Here’s a simple ETL (extract, transform, load) process that can be setup quickly using Python, MySQL, and crontab. For more complicated processes, it’s better to substitute crontab with a more sophisticated tool, like Airflow. This setup is a ‘naive’ setup and I’ll probably iterate on it, but for a simple project it seems to be working.

Project Planning

When planning the development of this project my objectives were:

Project Setup

A naive ETL setup

A naive ETL setup

The general idea is: