airflow-config
Declarative Apache Airflow DAGs from Hydra YAML and airflow-pydantic models.
# config/pipeline.yaml
# @package _global_
_target_: airflow_config.Configuration
dags:
daily-report:
schedule: "0 6 * * *"
start_date: "2025-01-01"
catchup: false
tasks:
report:
_target_: airflow_config.BashTask
bash_command: python /opt/jobs/report.py
from airflow_config import load_config
config = load_config("config", "pipeline")
config.generate_in_mem()
Configuration can provide shared defaults, environment overrides, templates, extensions, generated Python DAG files, or in-memory DAG registration.
Documentation
- Tutorial: generate a DAG from YAML
- How-to guides
- Why configuration and DAG models are separate
- API reference
Published documentation is available at airflow-laminar.github.io/airflow-config.
Ecosystem
- airflow-pydantic supplies the DAG, task, sensor, schedule, pool, and variable models.
- airflow-supervisor and supervisor-pydantic manage supervisord jobs.
- airflow-systemd and systemd-pydantic manage systemd services.
- airflow-cron and cron-pydantic convert crontabs into DAG models.
- airflow-balancer supplies host and port selection extensions.
- airflow-common supplies common operators and library management.
[!NOTE] This library was generated using copier from the Base Python Project Template repository.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file airflow_config-1.12.1.tar.gz.
File metadata
- Download URL: airflow_config-1.12.1.tar.gz
- Upload date:
- Size: 197.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cb7ba533bcedb68dac91af81a5b9b39a3029fda792443773fb66696b749b970
|
|
| MD5 |
db743a7399b834b1185221b254792ed6
|
|
| BLAKE2b-256 |
e8c073f75216b741a3a702c95ac6ec2fec7a21c7568094bd4db862464a6b9747
|
File details
Details for the file airflow_config-1.12.1-py3-none-any.whl.
File metadata
- Download URL: airflow_config-1.12.1-py3-none-any.whl
- Upload date:
- Size: 191.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9617059d43cb19cb87d2a521e1ad6d144ba6a1791130fa297edd792263d5df7
|
|
| MD5 |
a2201b5bdfee6570b24b433599a0465e
|
|
| BLAKE2b-256 |
a95784b2207e3b6cfd17fafd876cb407dbcf8160134f1efdb40b271715e6668c
|