/samples-airflow

A finely curated list of airflow 2.8.0 samples.

Primary LanguagePythonMIT LicenseMIT

Apache Airflow Samples

This repository contains sample Workflow applications that demonstrate various capabilities of Airflow.

Table of Contents

How to use

  1. Clone this repository:

    git clone https://github.com/misticorion/samples-airflow
    cd samples-airflow
    
  2. Create virtual environment and install airflow:

    virtualenv env
    export AIRFLOW_HOME={PATH_OF_PROJECT}
    pip install -r requirements.txt
    
  3. Run airflow locally with:

    airflow standalone
    

Airflow Web UI

The Airflow Server running locally includes a Web UI, exposed by default on port 8080. You can connect to the WebUI running using a browser and opening the following URI:

http://localhost:8080/home

Samples directory

The following section lists all available samples. Click on the sample link to view the README, which contains instructions on how to run them.

Hello samples

  • HelloWorld: Demonstrates a DAG Definition that executes a single Activity.

IDE Integration

PyCharm