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.
Metadata
Release files for airflow-config 1.12.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| airflow_config-1.12.4.tar.gz | 198.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| airflow_config-1.12.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 392.1 kB
Release files / airflow_config-1.12.4.tar.gz
| Download URL | airflow_config-1.12.4.tar.gz |
|---|---|
| Size | 198.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
508215e9892c251518228b78c1c7d71ff4e32c731de7a43bf694c8556df89fee
|
|
BLAKE2b-256 checksum How to use checksums |
de7cdc98fd6ab21eb843c42de2114b031b7cadcf490a1370190d33f151cf8d2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / airflow_config-1.12.4-py3-none-any.whl
| Download URL | airflow_config-1.12.4-py3-none-any.whl |
|---|---|
| Size | 193.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38f62578e6713df3f0c77945b11962f456cc9314c0dba4cfb4fd426b2212fe21
|
|
BLAKE2b-256 checksum How to use checksums |
1b148e319f4ec886039b48232f61f86e1d0a2e61aab7ccaef4a9adc66f784fd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|