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.7.0
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.7.0.tar.gz | 86.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| airflow_pydantic-1.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 212.3 kB
Release files / airflow_pydantic-1.7.0.tar.gz
| Download URL | airflow_pydantic-1.7.0.tar.gz |
|---|---|
| Size | 86.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a1632b626b12d18082349cb05317bd3de8b7f5bf1d9b4dcccd344005ded9938
|
|
BLAKE2b-256 checksum How to use checksums |
275de7e7fa4d0f886ac3a7c7f052e80246fa9ebc9ec822a7c723b24e5417fb66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / airflow_pydantic-1.7.0-py3-none-any.whl
| Download URL | airflow_pydantic-1.7.0-py3-none-any.whl |
|---|---|
| Size | 126.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c087b538191f23e6436ad9c7640f021805524c4670d1b0196d02b91f5649f9d
|
|
BLAKE2b-256 checksum How to use checksums |
556a81f36901204aae1b2020c329cb423936ee796b201fd90c9ecad2471b5432
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|