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.3.10.tar.gz (303.2 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.3.10-cp310-abi3-win_amd64.whl (68.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

floe_python-0.3.10-cp310-abi3-musllinux_1_2_x86_64.whl (69.2 MB view details)

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

floe_python-0.3.10-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (69.1 MB view details)

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

floe_python-0.3.10-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (65.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

floe_python-0.3.10-cp310-abi3-macosx_11_0_arm64.whl (59.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

floe_python-0.3.10-cp310-abi3-macosx_10_12_x86_64.whl (63.8 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: floe_python-0.3.10.tar.gz
  • Upload date:
  • Size: 303.2 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.3.10.tar.gz
Algorithm Hash digest
SHA256 2dbbafce7041dc8e22d8b31d5f1f830685e23ecb6a3a8da7a3449d5e42c3e765
MD5 f506188932c541b8e7adb618a144afd7
BLAKE2b-256 09a5135fecbbc79acf50401e94091ea9f1c53d500b6fe0538a89287c55dbadab

See more details on using hashes here.

Provenance

The following attestation bundles were made for floe_python-0.3.10.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.3.10-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: floe_python-0.3.10-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 68.0 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.3.10-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 75cab6b5834b045e98636a66e84af20f9f60757fc6ed35390f7a19cb2ff1b3c6
MD5 3ebb9e2da36fe051ab9e4fc5cd3a4cbf
BLAKE2b-256 f2a7b8ce8211c1b38d741460b168ca409278a66270259607585b1a81fb26d8d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for floe_python-0.3.10-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.3.10-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for floe_python-0.3.10-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 33a4a5b4010b1605418f4efb696e9b6af9dabecd69d78c1c3e634fcdae73085d
MD5 be7a7686be18b2f25e178ab6e6e09064
BLAKE2b-256 f779aa0ec39d515800a3cbaa0e563a6a1e0dfc1c6190979146970f10b7ddcbd5

See more details on using hashes here.

Provenance

The following attestation bundles were made for floe_python-0.3.10-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.3.10-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for floe_python-0.3.10-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f5ea8dda0a1e97c8a1b4da94f5899e74e38cb85141b29810a855274b37e13fb7
MD5 cf52568ffb2b7b0a2811528b4ea0d28a
BLAKE2b-256 e2e6aade6a00518c75a7727e879485825e53cf86337f4db1be6d69bf237ec249

See more details on using hashes here.

Provenance

The following attestation bundles were made for floe_python-0.3.10-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.3.10-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for floe_python-0.3.10-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d0ddbe4ba074a46370a9d083422e398f7383316451ee63ca0e570fda0a4f41fe
MD5 e1fa17641e6d92e47f742210a31f7937
BLAKE2b-256 358046e2ffcf20ad40cebeab77939c02ee0bbaa8d60256e04f2d1488887a70db

See more details on using hashes here.

Provenance

The following attestation bundles were made for floe_python-0.3.10-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.3.10-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for floe_python-0.3.10-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 76f0faf401d906ebbf093ff40b43d57265e22315751a7d5bc67ccb85308c2fd1
MD5 8ada566c395bfffc045441076104e854
BLAKE2b-256 72c8a29b2ef9b4780ea5cc6e8dfe59cde6e4218e9299409b4078a28da497d046

See more details on using hashes here.

Provenance

The following attestation bundles were made for floe_python-0.3.10-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.3.10-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for floe_python-0.3.10-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9f53d68d9b6526cd1dd9f63c816296f564188932b52c1aff51101093e977ad3f
MD5 84daea34dc63a691b75da875acbd4169
BLAKE2b-256 c04b6830481d0792cc1d17f79e7706fb7f8a6ab85c839811e38086605d1c6c52

See more details on using hashes here.

Provenance

The following attestation bundles were made for floe_python-0.3.10-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