airflow-pydantic
Typed, serializable models for Apache Airflow DAGs, tasks, sensors, schedules, and runtime resources.
from airflow_pydantic import BashTask, Dag
dag = Dag(
dag_id="daily-report",
schedule="0 6 * * *",
start_date="2025-01-01",
catchup=False,
tasks={
"report": BashTask(bash_command="python /opt/jobs/report.py"),
},
)
print(dag.render())
Models validate configuration before Airflow parses it, support Python and
YAML workflows, render standalone DAG source, and instantiate native Airflow
objects. airflow-config is the recommended YAML entry point.
Documentation
Published documentation is available at airflow-laminar.github.io/airflow-pydantic.
Ecosystem
- airflow-config loads Hydra/YAML configuration and materializes these 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 selects hosts, ports, pools, and queues.
- airflow-common provides reusable operators and orchestration helpers.
[!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_pydantic-1.6.2.tar.gz.
File metadata
- Download URL: airflow_pydantic-1.6.2.tar.gz
- Upload date:
- Size: 79.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6f61cab2a039d13e04f7075ca29ee0c7badcab4f3f91278ffe6c23326e40678
|
|
| MD5 |
68d05f58856b9eea7aa46dde1b15dd83
|
|
| BLAKE2b-256 |
576093be0e64a03cf6cae54d2f4a6eb3948add8c161028410960367e41f41168
|
File details
Details for the file airflow_pydantic-1.6.2-py3-none-any.whl.
File metadata
- Download URL: airflow_pydantic-1.6.2-py3-none-any.whl
- Upload date:
- Size: 118.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 |
18969152a932274c1e96bc370555efb2a747b736aece17e69b87b968f9ffb3b1
|
|
| MD5 |
375f32d26c6010e176933af1b354c98b
|
|
| BLAKE2b-256 |
b555e3fbdb111cd86e1af36c0037c69e600c9cde2db5883988b1dcd929a86060
|