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.
Metadata
Release files for airflow-pydantic 1.6.8
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_pydantic-1.6.8.tar.gz | 85.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| airflow_pydantic-1.6.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 210.3 kB
Release files / airflow_pydantic-1.6.8.tar.gz
| Download URL | airflow_pydantic-1.6.8.tar.gz |
|---|---|
| Size | 85.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08ac410466c76e36ddc0b0b29e7d5387a54601b1371fb068465a57f45405bb94
|
|
BLAKE2b-256 checksum How to use checksums |
336c8425f6d00ff36567313f6fabebb44d843aadd7172cdf7ccd4dd9c5e538a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / airflow_pydantic-1.6.8-py3-none-any.whl
| Download URL | airflow_pydantic-1.6.8-py3-none-any.whl |
|---|---|
| Size | 124.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2fe1e00e48a306eded6b6a3918f6be9fc129812aebd5b1a0cb11924a95d06c7
|
|
BLAKE2b-256 checksum How to use checksums |
14f90543b9185d2be518be188599e105c71b5ea976608eb284377a38e9f43592
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|