Python bindings for floe-core — run floe pipelines at Rust speed from Python and notebooks
Project description
floe-python
Python bindings for floe — a high-performance data ingestion and quality engine written in Rust.
Run floe pipelines at full Rust speed directly from Python notebooks, scripts, or orchestrators.
Installation
pip install floe-python
Quick start
import floe
# Validate a pipeline config
floe.validate("pipeline.yml")
# Run the full pipeline
outcome = floe.run("pipeline.yml")
print(outcome.summary["results"])
# Dry run — see which files would be processed
outcome = floe.run("pipeline.yml", dry_run=True)
for preview in outcome.dry_run_previews:
print(preview["name"], preview["scanned_files"])
# Run a subset of entities
outcome = floe.run("pipeline.yml", entities=["customers", "orders"])
# Live progress in Jupyter
floe.set_observer(lambda e: print(f"[{e['event']}]", e.get("name", "")))
outcome = floe.run("pipeline.yml")
floe.clear_observer()
# Profile overrides (variables + catalog config)
floe.run("pipeline.yml", profile_path="profile.yml")
floe.run("pipeline.yml", profile_vars={"output_bucket": "s3://my-bucket"})
# Inspect / reset incremental state
state = floe.inspect_entity_state("pipeline.yml", "customers")
floe.reset_entity_state("pipeline.yml", "customers")
Error handling
try:
floe.validate("config.yml")
except floe.FloeConfigError as e:
print(f"Config problem: {e}")
except floe.FloeRunError as e:
print(f"Run failed: {e}")
except floe.FloeError as e:
print(f"Floe error: {e}")
API reference
| Function | Description |
|---|---|
validate(config_path, *, entities, profile_vars, profile_path) |
Validate a config file |
run(config_path, *, entities, dry_run, run_id, profile_vars, profile_path) |
Execute the pipeline |
load_config(config_path) |
Parse config into a RootConfig object |
extract_config_env_vars(config_path) |
List placeholder variables in the config |
inspect_entity_state(config_path, entity_name) |
Inspect incremental state for an entity |
reset_entity_state(config_path, entity_name) |
Delete incremental state for an entity |
set_observer(callback) |
Register a live-event callback |
clear_observer() |
Remove the current callback |
Building from source
pip install maturin
git clone https://github.com/malon64/floe
cd floe/crates/floe-python
maturin develop
License
Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
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 floe_python-0.4.1.tar.gz.
File metadata
- Download URL: floe_python-0.4.1.tar.gz
- Upload date:
- Size: 316.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
631e7c5715fda5fae739e42cfb3cee41ce5289a171e75a8bc26c299e7f6915db
|
|
| MD5 |
e7f3635e63f878830ca764c2bd6f1bc0
|
|
| BLAKE2b-256 |
995523ee3d1ab633eb9a501fd0bb1da51382153be7b6475cb4165b78dea277f9
|
Provenance
The following attestation bundles were made for floe_python-0.4.1.tar.gz:
Publisher:
release.yml on malon64/floe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
floe_python-0.4.1.tar.gz -
Subject digest:
631e7c5715fda5fae739e42cfb3cee41ce5289a171e75a8bc26c299e7f6915db - Sigstore transparency entry: 1574274621
- Sigstore integration time:
-
Permalink:
malon64/floe@bf258d70a4b3cf102e066b2f9440e29704a31f2e -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/malon64
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bf258d70a4b3cf102e066b2f9440e29704a31f2e -
Trigger Event:
push
-
Statement type:
File details
Details for the file floe_python-0.4.1-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: floe_python-0.4.1-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 69.8 MB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2ad4de1b02fd4f820a9754569e35ff81c3ef2291ba9325c104731dc2fe8879e
|
|
| MD5 |
3c518d6f15d5e68465fae713bb7f01fe
|
|
| BLAKE2b-256 |
3700c16f7b48676ba3b0b94a6ab3e6e496371fa10a7f9297aa12f929168bf1db
|
Provenance
The following attestation bundles were made for floe_python-0.4.1-cp310-abi3-win_amd64.whl:
Publisher:
release.yml on malon64/floe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
floe_python-0.4.1-cp310-abi3-win_amd64.whl -
Subject digest:
d2ad4de1b02fd4f820a9754569e35ff81c3ef2291ba9325c104731dc2fe8879e - Sigstore transparency entry: 1574274681
- Sigstore integration time:
-
Permalink:
malon64/floe@bf258d70a4b3cf102e066b2f9440e29704a31f2e -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/malon64
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bf258d70a4b3cf102e066b2f9440e29704a31f2e -
Trigger Event:
push
-
Statement type:
File details
Details for the file floe_python-0.4.1-cp310-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: floe_python-0.4.1-cp310-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 70.9 MB
- Tags: CPython 3.10+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8c7c2640fe901941d94bc97bf498ce8cfeef4c4fbf850466c14dfcab4336510
|
|
| MD5 |
02c88f39b1930d3c11eb9301121bcb56
|
|
| BLAKE2b-256 |
45ceaff4fc4a79b6439cce9300b8ec0dc3928ee3941e8ecf3a691fe7d3434aa3
|
Provenance
The following attestation bundles were made for floe_python-0.4.1-cp310-abi3-musllinux_1_2_x86_64.whl:
Publisher:
release.yml on malon64/floe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
floe_python-0.4.1-cp310-abi3-musllinux_1_2_x86_64.whl -
Subject digest:
b8c7c2640fe901941d94bc97bf498ce8cfeef4c4fbf850466c14dfcab4336510 - Sigstore transparency entry: 1574274863
- Sigstore integration time:
-
Permalink:
malon64/floe@bf258d70a4b3cf102e066b2f9440e29704a31f2e -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/malon64
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bf258d70a4b3cf102e066b2f9440e29704a31f2e -
Trigger Event:
push
-
Statement type:
File details
Details for the file floe_python-0.4.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: floe_python-0.4.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 70.9 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
231c95429531e988372382f8d2478ced8ad06cfe3711a27c2c9c7ae99a62049e
|
|
| MD5 |
71564e57d94b10ed7926d9da8261605c
|
|
| BLAKE2b-256 |
3a61f03827f154fb1a00017459b9a240fa858ca9c5686acf0321c3f7bd382520
|
Provenance
The following attestation bundles were made for floe_python-0.4.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on malon64/floe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
floe_python-0.4.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
231c95429531e988372382f8d2478ced8ad06cfe3711a27c2c9c7ae99a62049e - Sigstore transparency entry: 1574274758
- Sigstore integration time:
-
Permalink:
malon64/floe@bf258d70a4b3cf102e066b2f9440e29704a31f2e -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/malon64
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bf258d70a4b3cf102e066b2f9440e29704a31f2e -
Trigger Event:
push
-
Statement type:
File details
Details for the file floe_python-0.4.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: floe_python-0.4.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 66.9 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0191f74c00156c7b05a2a0edce9631faf9192c025f2686853c161146628bf4e5
|
|
| MD5 |
599a5891929d89bb1b53a874275b7c95
|
|
| BLAKE2b-256 |
9aed9c16616a4ea591ec569b261ffef97307aa58f01b457ad4efa6305a86ddad
|
Provenance
The following attestation bundles were made for floe_python-0.4.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
release.yml on malon64/floe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
floe_python-0.4.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
0191f74c00156c7b05a2a0edce9631faf9192c025f2686853c161146628bf4e5 - Sigstore transparency entry: 1574274786
- Sigstore integration time:
-
Permalink:
malon64/floe@bf258d70a4b3cf102e066b2f9440e29704a31f2e -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/malon64
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bf258d70a4b3cf102e066b2f9440e29704a31f2e -
Trigger Event:
push
-
Statement type:
File details
Details for the file floe_python-0.4.1-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: floe_python-0.4.1-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 61.1 MB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6ae5a6af329c96c7f8a3456ea697795593bcb6d2cd5b0ee893b7e7ddffe6a60
|
|
| MD5 |
79587c7030e2e4dbccc08c097ee76dbf
|
|
| BLAKE2b-256 |
cc4ec132c6eccc6e70b1662208c6e1bdb54d8078ff64f670e602ac72a83a2a12
|
Provenance
The following attestation bundles were made for floe_python-0.4.1-cp310-abi3-macosx_11_0_arm64.whl:
Publisher:
release.yml on malon64/floe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
floe_python-0.4.1-cp310-abi3-macosx_11_0_arm64.whl -
Subject digest:
b6ae5a6af329c96c7f8a3456ea697795593bcb6d2cd5b0ee893b7e7ddffe6a60 - Sigstore transparency entry: 1574274719
- Sigstore integration time:
-
Permalink:
malon64/floe@bf258d70a4b3cf102e066b2f9440e29704a31f2e -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/malon64
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bf258d70a4b3cf102e066b2f9440e29704a31f2e -
Trigger Event:
push
-
Statement type:
File details
Details for the file floe_python-0.4.1-cp310-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: floe_python-0.4.1-cp310-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 65.4 MB
- Tags: CPython 3.10+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10af260549e49bb003bd146867ecf3ec192f4f77eba270baf6786bf9135944a0
|
|
| MD5 |
18e4159724f63a588f80887079c782cd
|
|
| BLAKE2b-256 |
5d4b4d965c9786dbf45b3373824df8e53289a86bcfb46dfd84329994885d3309
|
Provenance
The following attestation bundles were made for floe_python-0.4.1-cp310-abi3-macosx_10_12_x86_64.whl:
Publisher:
release.yml on malon64/floe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
floe_python-0.4.1-cp310-abi3-macosx_10_12_x86_64.whl -
Subject digest:
10af260549e49bb003bd146867ecf3ec192f4f77eba270baf6786bf9135944a0 - Sigstore transparency entry: 1574274818
- Sigstore integration time:
-
Permalink:
malon64/floe@bf258d70a4b3cf102e066b2f9440e29704a31f2e -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/malon64
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bf258d70a4b3cf102e066b2f9440e29704a31f2e -
Trigger Event:
push
-
Statement type: