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.1

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.1
File Actions
prizm_airflow_plugin-0.3.1-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.17+ x86-64, Linux glibc 2.28+ x86-64 Details for prizm_airflow_plugin-0.3.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
prizm_airflow_plugin-0.3.1-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.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
prizm_airflow_plugin-0.3.1-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.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
prizm_airflow_plugin-0.3.1-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.28+ x86-64, Linux glibc 2.17+ x86-64 Details for prizm_airflow_plugin-0.3.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
prizm_airflow_plugin-0.3.1-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.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Total release size: 7.9 MB

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

Download URL prizm_airflow_plugin-0.3.1-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
a9ea087635c020957329a389b8458c4dbba8d957a899630fd5db87ddb3c2a9e7
BLAKE2b-256 checksum
How to use checksums
49595e4830814e879a5c38bd97c467b51ee9a9de2d0b2831b924541cc87f85e9
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 6, 2026.

Transparency log

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

Download URL prizm_airflow_plugin-0.3.1-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
2b4eded80d2f6ad487983c54a412e8d8f0873964928617dd48d81da277c37efd
BLAKE2b-256 checksum
How to use checksums
7fd417424ef58f9157f284c13fb7e6e612a52e51ff251b4d89f6881bba6896b0
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 6, 2026.

Transparency log

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

Download URL prizm_airflow_plugin-0.3.1-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
9db89a86f27670991cc662492e48c32a0c8ce5108d6eac48ca28179ceb08e806
BLAKE2b-256 checksum
How to use checksums
c8127533aa4b0ebdb0c8605ba1396958e75a60a121b59842734a7aa0429c5463
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 6, 2026.

Transparency log

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

Download URL prizm_airflow_plugin-0.3.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 1.6 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d528f5ef7eec106405effb29dff2cd1ca378a738254cc1b9bd6d2c63c476bc54
BLAKE2b-256 checksum
How to use checksums
a7a9316b42955b69d72c3a9affdf2f2f751bc9be048a0fc63672c6bf67a0e159
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 6, 2026.

Transparency log

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

Download URL prizm_airflow_plugin-0.3.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 1.6 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b674ae0cc611bd4bb27d0f6decf4830d30dd4d4785f7f705fdde27f606c79c30
BLAKE2b-256 checksum
How to use checksums
8f391543ec6eb97a6ade2f728adbb0d9fda72477e2393f45ff5fd3f4d4f3f2c7
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 6, 2026.

Transparency log

Security for prizm-airflow-plugin 0.3.1

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.1-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 6, 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