Skip to main content

airflow-pydantic

Typed, serializable models for Apache Airflow DAGs, tasks, sensors, schedules, and runtime resources.

Build Status codecov License PyPI

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

Metadata

Release files for airflow-pydantic 1.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for airflow-pydantic 1.7.2
File Size Uploaded Provenance Actions
airflow_pydantic-1.7.2.tar.gz 89.8 kB Without provenance Details for airflow_pydantic-1.7.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for airflow-pydantic 1.7.2
File Interpreter ABI Platform Actions
airflow_pydantic-1.7.2-py3-none-any.whl Python 3 none any Details for airflow_pydantic-1.7.2-py3-none-any.whl

Total release size: 220.3 kB

Release files / airflow_pydantic-1.7.2.tar.gz

Download URL airflow_pydantic-1.7.2.tar.gz
Size 89.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ad54be2d8d4bd8e1f0098a31f4f8cce936d495d5c5ecc40ed77dae12a5a39f63
BLAKE2b-256 checksum
How to use checksums
a562742c6f480f6217ffa226ce78d465a7a264ce1ce9607358360d15bb5f78e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / airflow_pydantic-1.7.2-py3-none-any.whl

Download URL airflow_pydantic-1.7.2-py3-none-any.whl
Size 130.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c126080a4c3ee693dd48aee28be689872c56bdcc4e42d0eee28620ac950f4be5
BLAKE2b-256 checksum
How to use checksums
46c246667f51bb1573ffd544fa762d2bdbfb7fe17cd8e264d541f10bf07d66b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for airflow-pydantic 1.7.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.7.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page