Airflow connector for Floe CLI (manifest-first orchestration)
Project description
Floe + Airflow (MVP example)
This folder contains:
- a reusable Python connector package (
src/airflow_floe) - example DAGs (
dags/) that consume the package
For local setup of both Dagster and Airflow with isolated virtual environments, see:
orchestrators/LOCAL_DEV.md
Contents
INTEGRATION_SPEC.md: contract between Airflow and Floe CLIschemas/: JSON Schemas for XCom payloads and manifest contractsrc/airflow_floe/manifest.py: manifest loader/converter (floe.plan.v1->floe.manifest.v1)src/airflow_floe/runtime.py: shared runtime helpers (manifest context, run event parsing, summary loading)src/airflow_floe/hooks.py: reusable manifest hook (FloeManifestHook)src/airflow_floe/operators.py: reusable run hook/operator (FloeRunHook,FloeRunOperator)example/config.yml: small Floe config for demodags/floe_example_operator_dag.py: example DAG usingFloeRunOperator
Quick usage
- Make sure
floeis available in PATH (or setFLOE_CMD). - (Optional but recommended) install the connector package:
python -m pip install -e orchestrators/airflow-floe
- Point Airflow DAGs folder to
orchestrators/airflow-floe/dags. - Set optional env vars:
export FLOE_CMD="floe"
export FLOE_MANIFEST="/absolute/path/to/orchestrators/airflow-floe/example/manifest.airflow.json"
# optional override:
# export FLOE_CONFIG="/absolute/path/to/orchestrators/airflow-floe/example/config.yml"
- Generate manifest from Floe config:
floe manifest generate \
-c orchestrators/airflow-floe/example/config.yml \
--output orchestrators/airflow-floe/example/manifest.airflow.json
- Trigger DAG
floe_example_operator.
Notes
- The DAG uses Floe CLI contracts directly and expects:
- run log schema:
floe.log.v1 - terminal event:
run_finished
- run log schema:
- Assets are created at parse time from
FLOE_MANIFESTand materialized when run tasks finish. floe_example_operatoralso publishes asset events when manifest assets are available.- If
FLOE_MANIFESTis missing/invalid, DAGs still run withFLOE_CONFIG(or example config fallback) but no assets are loaded/materialized. - The returned task payload shape follows
floe.airflow.run.v1. - Local run summaries emitted as
local://...are resolved and loaded by the connector runtime helpers.
Project details
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 airflow_floe-0.1.0.tar.gz.
File metadata
- Download URL: airflow_floe-0.1.0.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b9a664fa3db2269e1eea1a111a575a6a268939fef6660235cda97d34c471de8
|
|
| MD5 |
ca31cbe2b1f86eb81ba389cd9dcea3b6
|
|
| BLAKE2b-256 |
56f42b4806eca762f7669b98e7864ed072282cf8b0588aa6e8c4834337ebe45e
|
Provenance
The following attestation bundles were made for airflow_floe-0.1.0.tar.gz:
Publisher:
release-airflow-floe.yml on malon64/floe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
airflow_floe-0.1.0.tar.gz -
Subject digest:
8b9a664fa3db2269e1eea1a111a575a6a268939fef6660235cda97d34c471de8 - Sigstore transparency entry: 954497390
- Sigstore integration time:
-
Permalink:
malon64/floe@43e29205e7bd9034d0e97db7adcadfbd14e0bf68 -
Branch / Tag:
refs/tags/airflow-floe-v0.1.1 - Owner: https://github.com/malon64
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-airflow-floe.yml@43e29205e7bd9034d0e97db7adcadfbd14e0bf68 -
Trigger Event:
push
-
Statement type:
File details
Details for the file airflow_floe-0.1.0-py3-none-any.whl.
File metadata
- Download URL: airflow_floe-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b49716cdc6d6a0dbed993dbb218845c60408d4c165ce06113f9828ed7daa26f
|
|
| MD5 |
bebbe3303b1a6100c04ae436245c04cd
|
|
| BLAKE2b-256 |
dd8ae940aa052e2d33039e21f620d3189fdf043da415bfdc584e83f3ce7ac591
|
Provenance
The following attestation bundles were made for airflow_floe-0.1.0-py3-none-any.whl:
Publisher:
release-airflow-floe.yml on malon64/floe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
airflow_floe-0.1.0-py3-none-any.whl -
Subject digest:
1b49716cdc6d6a0dbed993dbb218845c60408d4c165ce06113f9828ed7daa26f - Sigstore transparency entry: 954497416
- Sigstore integration time:
-
Permalink:
malon64/floe@43e29205e7bd9034d0e97db7adcadfbd14e0bf68 -
Branch / Tag:
refs/tags/airflow-floe-v0.1.1 - Owner: https://github.com/malon64
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-airflow-floe.yml@43e29205e7bd9034d0e97db7adcadfbd14e0bf68 -
Trigger Event:
push
-
Statement type: