airflow
Installation
SKILL.md
Airflow
Apache Airflow is the industry standard for programmatic data pipeline orchestration, featuring dynamic DAG generation, event-driven triggers, and robust task scheduling.
When to Use
- Enterprise Data Pipeline Orchestration: Scheduling, monitoring, and authoring complex DAGs across cloud and on-premise systems.
- Modern TaskFlow API Workloads: Writing clean, Pythonic DAGs using
@taskand@dagdecorators with automated XCom serialization. - Dynamic Task Mapping: Fan-out and fan-in workflows processing variable numbers of files, partitions, or microservices.
- Event-Driven & Deferrable Operators: Minimizing worker slot utilization during long-running external jobs with async triggers.
Quick Start
from datetime import datetime
from airflow.decorators import dag, task