dpone-airflow-pack
dpone-airflow-pack is the lightweight, Airflow-independent reader and DAG
construction library for dpone GitOps packs. The formal
apache-airflow-providers-dpone distribution owns provider discovery and the
canonical airflow.providers.dpone namespace.
It only reads a static airflow-pack.json and builds visible Airflow/Kubernetes tasks. It does not import the full
dpone runtime and intentionally contains no source/sink/native transfer dependencies such as ClickHouse, MSSQL,
pyodbc, pandas, polars, or ConnectorX.
Recommended zero-boilerplate Airflow DAG import:
from airflow.providers.dpone import load_dpone_dags
load_report = load_dpone_dags(
globals(),
index_path="/opt/airflow/dags/.dpone-cache/current/airflow-index.json",
)
if load_report.fatal:
error_code = (
load_report.errors[0].get("code", "DPONE_AIRFLOW_INDEX_INVALID")
if load_report.errors
else "DPONE_AIRFLOW_INDEX_INVALID"
)
raise RuntimeError(
f"{error_code}: dpone Airflow deployment index could not be loaded"
)
The formal provider's canonical namespace is PEP 561 typed.
DponeDag.from_spec(...) and
DponeTaskGroup.from_pack(...) remain typed escape hatches for hybrid DAGs.
The old dpone_airflow_pack imports remain compatibility shims and emit one
deprecation warning per process for provider-facade objects.
For the complete import, generated-loader, and cache-layout cutover, follow the provider and cache migration guide.
Legacy installations that still consume a mutable remote
latest/pack-index.json may keep the compatibility sync temporarily:
dpone-airflow-pack-sync \
--once \
--index-uri s3://bucket/dpone-artifacts/prod/repo/latest/pack-index.json \
--reader-connection-id s3_dpone_artifacts_reader \
--cache-dir /opt/airflow/dags/.dpone-cache/airflow
dpone-airflow-pack-cache-status \
--cache-dir /opt/airflow/dags/.dpone-cache/airflow \
--json
The loader reads only the local composite deployment index and its listed checksum-verified DAG specs/packs. It does not scan authoring sources, refresh a remote cache, or read Airflow Variables, Connections, Vault, Kubernetes, or a metadata database during parse.
For DAGs that should run a whole GitOps domain or a named workflow group, keep the grouping in the domain catalog and resolve it through the lightweight provider:
workflow_groups:
daily:
workload_ids:
- dim_customer
- fact_order
from dpone_airflow_pack import workload_ids_from_gitops_domain
workload_ids = workload_ids_from_gitops_domain(
repo_root,
"sales",
group="daily",
)
The resolver only reads YAML files and validates that every group member exists in the same domain catalog.
The full dpone[full,accel] package belongs in the KPO runtime image, not in the scheduler image.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dpone_airflow_pack-0.73.20.tar.gz.
File metadata
- Download URL: dpone_airflow_pack-0.73.20.tar.gz
- Upload date:
- Size: 93.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
629fe27cb6224c0ecd9398754c08e3f0222aecba370848f85873cc923958fcef
|
|
| MD5 |
ce2984f31f81cadae5ed2c77f368f2f5
|
|
| BLAKE2b-256 |
3bf4326a268a1448fe7e5035f02bcdcc07fd03fffa1d726e7857133e4d504214
|
File details
Details for the file dpone_airflow_pack-0.73.20-py3-none-any.whl.
File metadata
- Download URL: dpone_airflow_pack-0.73.20-py3-none-any.whl
- Upload date:
- Size: 129.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4886eef6bfc63a9cad326fdf6b3e06cf4207cafd89e668fb803ebc06de2662b
|
|
| MD5 |
120b4a49424b03060bf54976fe36d471
|
|
| BLAKE2b-256 |
895b2f482d9dc9fe69d9c9cbb250245d137854b48911059c654ad267506de593
|