Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

floe_python-0.4.2.tar.gz (321.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

floe_python-0.4.2-cp310-abi3-win_amd64.whl (69.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

floe_python-0.4.2-cp310-abi3-musllinux_1_2_x86_64.whl (70.9 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ x86-64

floe_python-0.4.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (70.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

floe_python-0.4.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (66.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

floe_python-0.4.2-cp310-abi3-macosx_11_0_arm64.whl (61.1 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

floe_python-0.4.2-cp310-abi3-macosx_10_12_x86_64.whl (65.5 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file floe_python-0.4.2.tar.gz.

File metadata

  • Download URL: floe_python-0.4.2.tar.gz
  • Upload date:
  • Size: 321.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for floe_python-0.4.2.tar.gz
Algorithm Hash digest
SHA256 33df394e5d15805653c2ff98063bcf1d2d8f7eb4808eee61b23a0506febb4736
MD5 5d213a2d49c1b7d28bc21dfa8ba12afe
BLAKE2b-256 32e591e4404954f7f143dcc80cae902632aaa4e6a9b189f1cb245d7d374f0cd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for floe_python-0.4.2.tar.gz:

Publisher: release.yml on malon64/floe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file floe_python-0.4.2-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: floe_python-0.4.2-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

Hashes for floe_python-0.4.2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9cdea70e2539d8242b196b37507bd478b9360f139cdb77ddf9735a9a6a5c358b
MD5 bc29e9110203b80329aa87b3dd25fde2
BLAKE2b-256 0fbe2790498cb0a7dc92c535e868e8451f17e7d2649a341c2833e451b281805d

See more details on using hashes here.

Provenance

The following attestation bundles were made for floe_python-0.4.2-cp310-abi3-win_amd64.whl:

Publisher: release.yml on malon64/floe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file floe_python-0.4.2-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for floe_python-0.4.2-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2e9ecaa9590a3e4d1058cc5c6d96fa395e63adea98dfece93cceb48cc4129fc6
MD5 facb0c28297b9a7d14e2463cf2901a8d
BLAKE2b-256 ddf3fe095d8b7974fb25e9ea91346f387b26bf4efb151d9ea9318640daa15468

See more details on using hashes here.

Provenance

The following attestation bundles were made for floe_python-0.4.2-cp310-abi3-musllinux_1_2_x86_64.whl:

Publisher: release.yml on malon64/floe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file floe_python-0.4.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for floe_python-0.4.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 948dbd8936b88e831ba8782936e7f64cdcd4825f9755451028b42c6e005477aa
MD5 14217bc9fb0f877c073671e21c550f0a
BLAKE2b-256 a206b4e61d673c9bd64380562e994280dd988587b0d3634bed25aa7918435f9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for floe_python-0.4.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on malon64/floe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file floe_python-0.4.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for floe_python-0.4.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 09e2d09c9983b3ec6b28f2b669b583a90dc7877e38433a758e36f850efe5e12f
MD5 3b2e28bfb1bf17bd33a0602683a52c2f
BLAKE2b-256 89be7fdde8a02fc7bc7308d609ff3693e23e083d4f5825347ea06beada194fc2

See more details on using hashes here.

Provenance

The following attestation bundles were made for floe_python-0.4.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on malon64/floe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file floe_python-0.4.2-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for floe_python-0.4.2-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e665b51eb0d72497a70c6d4d2816438125169446acd39b34fc309b6e7136a544
MD5 f131d6f56e3d6778229f47a4165b199e
BLAKE2b-256 75702faecf2c28e453d724be3583f74699acea48c9db4580752385eedaabe3e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for floe_python-0.4.2-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on malon64/floe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file floe_python-0.4.2-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for floe_python-0.4.2-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0de37c02a516230883337e723f017082de255cbb233742823fbed32b8c9e179e
MD5 3055870a8ef03f723e698a96c1e0362b
BLAKE2b-256 677db5e4a230647ecc681f2cb9eccb20f0d13b5f23f52d42336c988b2edb32da

See more details on using hashes here.

Provenance

The following attestation bundles were made for floe_python-0.4.2-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on malon64/floe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page