Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Apache Airflow DagSyncer

Category Badges
License License
PyPI PyPI version PyPI - Python Version

apache-airflow-dagsyncer ships serialized dags from a data plane to an Apache Airflow control plane over HTTP/S - edge-executor style. The control plane never parses dag files and never dials into the data plane.

  Data plane (remote)                     Control plane
+------------------------+   HTTP/S    +---------------------------+
| DagProcessor (run-once |  -------->  | Airflow api-server        |
|   against local SQLite)|  manifest   | +-----------------------+ |
| syncer (push)          |             | | dagsyncer plugin      | |
|   extracts serialized  |             | |  auth + validation    | |
|   dags, POSTs manifest |             | |  dag parsing update   | |
+------------------------+             | |  -> control-plane DB  | |
                                       | +-----------------------+ |
                                       +---------------------------+

On each deployment the syncer runs the DagProcessor once against a local SQLite database, extracts the serialized dag JSON, and pushes a full bundle manifest to the listener. The listener is an Airflow plugin mounted into the api-server (edge3 provider pattern), so it inherits the api-server's TLS and deployment. Ingestion goes through Airflow's own dag parsing update path, so versioning, hashing, and consistency stay Airflow's responsibility. Dags absent from the manifest are deactivated.

See PROTOCOL.md for the wire protocol.

Status: early development / AIP-92 workaround. Push client and listener plugin work end-to-end; full scheduler/edge-worker loop validation is in progress. This package exists because AIP-92 - upstream's planned DAG-processor isolation - is still a draft and not yet implemented end-to-end. When AIP-92 lands natively, dagsyncer should become unnecessary and can be deprecated.

Table of contents

Requirements

Component Version
Python 3.12+

The syncer side has no runtime dependencies. The listener side requires Apache Airflow, installed via the [listen] extra:

pip install "apache-airflow-dagsyncer[listen]"

Installing from PyPI

pip install apache-airflow-dagsyncer

Or with uv:

uv pip install apache-airflow-dagsyncer

Usage

Control plane - install the listener next to the api-server and configure the shared secret; the plugin is discovered automatically:

pip install "apache-airflow-dagsyncer[listen]"
export AIRFLOW__DAGSYNCER__API_SECRET_KEY="..."
airflow api-server

Data plane - parse a bundle and push it to the control plane:

apache-airflow-dagsyncer push \
  --bundle-path /opt/dags \
  --bundle-name my-dags \
  --listener-url https://airflow.example.com \
  --token "$DAGSYNCER_TOKEN"

Contributing

Want to help build this project? Set up a development environment with uv:

git clone https://github.com/abhishekbhakat/apache-airflow-dagsyncer.git
cd apache-airflow-dagsyncer
uv sync
uv run apache-airflow-dagsyncer --help

License

Apache License, Version 2.0

Metadata

Release files for apache-airflow-dagsyncer 0.0.1rc4

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

Source distribution (sdist)

Source distribution for apache-airflow-dagsyncer 0.0.1rc4
File Size Uploaded Provenance
apache_airflow_dagsyncer-0.0.1rc4.tar.gz 13.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for apache-airflow-dagsyncer 0.0.1rc4
File Interpreter ABI Platform
apache_airflow_dagsyncer-0.0.1rc4-py3-none-any.whl Python 3 none any Details

Total release size: 30.4 kB

Release files / apache_airflow_dagsyncer-0.0.1rc4.tar.gz

Download URL apache_airflow_dagsyncer-0.0.1rc4.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c7a2fba9eed1d6b50eb94d9406cc61272818e8fc2c6b3cc9be63ba622aec23f3
BLAKE2b-256 checksum
How to use checksums
102ee8870cc29632f03666ec910723232186a3bbd4f6fffe9ea1fd1649579e82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 9, 2026.

Transparency log

Release files / apache_airflow_dagsyncer-0.0.1rc4-py3-none-any.whl

Download URL apache_airflow_dagsyncer-0.0.1rc4-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf136f97355a01e3805b316de8d4b32a7e20c85e2f92a299f33b4aa0d0a2fe85
BLAKE2b-256 checksum
How to use checksums
d0189e0bb00cc1123a33bfadacf3e824561daac7cbf08794dfddcf3bb27a9f37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 9, 2026.

Transparency log

Security for apache-airflow-dagsyncer 0.0.1rc4

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 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for apache_airflow_dagsyncer-0.0.1rc4.tar.gz

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 Jul 9, 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