Skip to main content

Prizm Airflow Plugin

Airflow plugin that registers a DAG run listener and pushes DAG run, task and lineage metadata to Prizm when a DAG run succeeds or fails.

Install

Install into the same environment as the Airflow scheduler (and workers):

pip install prizm-airflow-plugin

Restart the scheduler. Airflow discovers the plugin via the airflow.plugins entry point; no file needs to be copied into $AIRFLOW_HOME/plugins. Requires Apache Airflow 2.7.0 or later and has no other dependencies; apache-airflow itself is not installed by this package. Remove any previously copied prizm_airflow_plugin.py from $AIRFLOW_HOME/plugins to avoid loading it twice.

Configuration (Admin -> Variables)

Variable Description
prizm_url Prizm base URL (plugin appends /api/v1/schedule/airflow/plugin)
prizm_api_token Prizm API access token (prizm_plugin_token is a deprecated alias)
prizm_connection_name Must match the Prizm source connection name
prizm_allowed_dags Optional comma-separated globs, e.g. dag_*
prizm_excluded_dags Optional comma-separated globs
prizm_extract_source_code Optional, default true; set false to skip sending DAG source
prizm_include_full_log Optional, default false; true sends the full log of failed tasks
prizm_dag_inventory_sync_enabled Optional, default false; true also sends the list of DAGs present in Airflow so Prizm deprecates deleted DAGs
prizm_dag_inventory_sync_interval_minutes Optional, default 1440; minimum minutes between inventory syncs (checked when a DAG run finishes)

Deprecating deleted DAGs

Run pushes never report a DAG that was deleted from Airflow. Prizm learns about deletions from an inventory sync (POST /api/v1/schedule/airflow/plugin/sync) that lists the DAGs still present; tracked DAGs missing from the list are deprecated. Choose one of:

  • Standalone DAG (recommended, Airflow 2.4+): run prizm-airflow-install-dag to copy prizm_dag_inventory_sync.py into $AIRFLOW_HOME/dags (or pass a destination folder). It uses the same Variables as the plugin, runs @daily (override with the prizm_inventory_sync_schedule Variable; none = manual only) and accepts dry_run, allow_empty and force params on manual runs. It needs requests, which Airflow already provides.
  • In the plugin: set prizm_dag_inventory_sync_enabled to true.

DAGs excluded by prizm_allowed_dags / prizm_excluded_dags are not sent, so Prizm deprecates them too. Using both options is harmless but redundant.

Distribution

The plugin logic is compiled with Cython, so wheels are specific to the Python version and platform (Linux x86_64, CPython 3.9-3.13). Only the listener hooks in plugin.py ship as readable Python. There is no sdist.

Build and publish

python -m pip install cibuildwheel
python -m cibuildwheel --platform linux --archs x86_64 --output-dir dist .
python -m twine upload dist/*

Or use the manual "Publish to PyPI" GitHub workflow with prizm-airflow-plugin.

License

MIT License

Metadata

Release files for prizm-airflow-plugin 0.3.0

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

Built distributions (wheels)

Table of built distributions (wheels) for prizm-airflow-plugin 0.3.0
File Actions
prizm_airflow_plugin-0.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for prizm_airflow_plugin-0.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
prizm_airflow_plugin-0.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for prizm_airflow_plugin-0.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
prizm_airflow_plugin-0.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for prizm_airflow_plugin-0.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
prizm_airflow_plugin-0.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for prizm_airflow_plugin-0.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
prizm_airflow_plugin-0.3.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for prizm_airflow_plugin-0.3.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Total release size: 7.5 MB

Release files / prizm_airflow_plugin-0.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL prizm_airflow_plugin-0.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 1.5 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c774bd756cdbb01a1935de2301527cf1d1a1ff9689e1c6a6fa278199ab28c725
BLAKE2b-256 checksum
How to use checksums
9855a951420929026d5bb5d211c6275bb4e49bd0dfdac12907c172d9e8682a61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / prizm_airflow_plugin-0.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL prizm_airflow_plugin-0.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 1.5 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4c17c4a9b860e365b03cfd7a39f6841575f87389e4a67575d6991273b4881c6c
BLAKE2b-256 checksum
How to use checksums
ee13cc715f9835b66b87c9f0b57a56023c7913ad7f601003038cfedf19757619
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / prizm_airflow_plugin-0.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL prizm_airflow_plugin-0.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 1.6 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4532c075ae34210d4be021dc1945e43790b5218ef2ce3c5d0abc260c312dd4da
BLAKE2b-256 checksum
How to use checksums
ce7e4c738076f858078be2e7dfa51dd7df53e6bfef433de70f9e30210612c1e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / prizm_airflow_plugin-0.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL prizm_airflow_plugin-0.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 1.5 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b85addf16892e756f68a2b491e401b8d1098fbfbdb928566970f292025f959b3
BLAKE2b-256 checksum
How to use checksums
f954f0eb61b929e9cb549a9f7c73a08b62f8ea6b7e0bd0cd50463663947618f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / prizm_airflow_plugin-0.3.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL prizm_airflow_plugin-0.3.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 1.5 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
28e0a207c12e2f7fb52c01ed7c25336e0180bd06012d16da1cd0b07b4dc23d60
BLAKE2b-256 checksum
How to use checksums
d8c476115e97f7db67fee1ab07666ee2ef9674f609407b8ba080254ceaf922b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Security for prizm-airflow-plugin 0.3.0

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.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for prizm_airflow_plugin-0.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

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.

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