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.
Metadata
Release files for airflow-pydantic 1.6.7
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.7.tar.gz | 85.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| airflow_pydantic-1.6.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 209.6 kB
Release files / airflow_pydantic-1.6.7.tar.gz
| Download URL | airflow_pydantic-1.6.7.tar.gz |
|---|---|
| Size | 85.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b17604367b735bc15521cf6f943bfed083336822eff12d05e0705e9942c44983
|
|
BLAKE2b-256 checksum How to use checksums |
64c0dc6e7730ae7c4169ba9e720faab3ce97235ea4b9ccd154218abc82b7bcc6
|
| 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.6.7-py3-none-any.whl
| Download URL | airflow_pydantic-1.6.7-py3-none-any.whl |
|---|---|
| Size | 124.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d363c913de09247f0c2e60af3986972b76875dd40ea24b7ee3afcdf33882981c
|
|
BLAKE2b-256 checksum How to use checksums |
ff971b055758d542aac22d882aa8056d551876d010c94f12aa4b9e4f686e4d85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|