Skip to content

BasPH/data-pipelines-with-apache-airflow

Folders and files

NameName
Last commit message
Last commit date
Oct 11, 2020
Jan 20, 2021
Jan 20, 2021
Jan 17, 2023
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Jan 20, 2021
Oct 11, 2020
Oct 11, 2020
Mar 22, 2020
Jun 10, 2019
Jan 20, 2021
Oct 11, 2020

Repository files navigation

Data Pipelines with Apache Airflow

Code accompanying the Manning book Data Pipelines with Apache Airflow.

Structure

Overall, this repository is structured as follows:

├── chapter01                # Code examples for Chapter 1.
├── chapter02                # Code examples for Chapter 2.
├── ...
├── .pre-commit-config.yaml  # Pre-commit config for the CI.
├── CHANGELOG.md             # Changelog detailing updates to the code.
├── LICENSE                  # Code license.
├── README.md                # This readme.
└── requirements.txt         # CI dependencies.

The chapterXX directories contain the code examples for each specific Chapter.

Code for each Chapter is generally structured something like follows:

├── dags                  # Airflow DAG examples (+ other code).
├── docker-compose.yml    # Docker-compose file used for running the Chapter's containers.
└── readme.md             # Readme with Chapter-specific details, if any.

Usage

Details for running specific chapter examples are available in the corresponding chapter's readme. In general, most code examples are run using docker-compose, together with the provided docker-compose.yml file in each chapter. This docker-compose file will take care of spinning up the required resources and start an Airflow instance for you. Once everything is running, you should be able to run the examples in Airflow using your local browser.

Some later Chapters (such as Chapters 11 and 13) may require a bit more setup. The details for doing so are described in the corresponding readme's and in the Chapter's themselves.