Business implementations and learning examples for the Airflow Data Platform.
This repository contains examples showing how to use the platform. For the platform framework itself, see airflow-data-platform.
Start with these simple examples in order:
-
hello-world/ - Basic Astronomer project with platform patterns
- Minimal setup
- Shows platform integration
- 5 minutes to running
-
hello-kerberos/ - SQL Server with Windows Authentication
- Kerberos ticket sharing
- Secure database connections
- No passwords in code
First, set up the platform services:
# Clone and start platform services
git clone https://github.com/Troubladore/airflow-data-platform.git
cd airflow-data-platform/platform-bootstrap
make start# Clone examples
git clone https://github.com/Troubladore/airflow-data-platform-examples.git
cd airflow-data-platform-examples/hello-world
# Follow the README there- pagila-implementations/ - Complete data pipeline examples
- datakits-sqlserver/ - Production SQL Server patterns
airflow-data-platform-examples/
├── hello-world/ # Simplest possible example
├── hello-kerberos/ # Kerberos authentication example
├── pagila-implementations/ # Complete pipeline examples
│ └── pagila-sqlmodel-basic/ # SQLModel implementation
├── datakits-sqlserver/ # SQL Server production patterns
│ ├── datakit_sqlserver_bronze_kerberos/
│ └── datakit_sqlserver_silver/
└── docs/ # Detailed documentation
- Platform Setup - Set up platform services
- Hello World - Your first project
- Hello Kerberos - SQL Server authentication
- Running the Examples - Complete walkthrough
- Learning Path - Structured learning progression
- Implementation Guide - Build your own
| If you want to... | Start with... |
|---|---|
| See if it works | hello-world/ |
| Connect to SQL Server | hello-kerberos/ |
| Build a data pipeline | pagila-sqlmodel-basic/ |
| Production SQL Server | datakits-sqlserver/ |
We welcome contributions! Especially:
- New examples - Different databases, cloud providers, etc.
- Pattern documentation - When/why to use specific approaches
- Tutorial improvements - Make it easier for newcomers
All examples assume you have:
- Docker Desktop installed
- Python 3.8+ available
- Platform services running (see setup guide)
For SQL Server examples, you'll also need:
- WSL2 (Windows users)
- Kerberos configuration
- Access to a SQL Server instance
Questions? Start with hello-world/ or create an issue for help.