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.1.tar.gz (316.1 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.1-cp310-abi3-win_amd64.whl (69.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

floe_python-0.4.1-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.1-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.1-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.1-cp310-abi3-macosx_11_0_arm64.whl (61.1 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

floe_python-0.4.1-cp310-abi3-macosx_10_12_x86_64.whl (65.4 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

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

Hashes for floe_python-0.4.1.tar.gz
Algorithm Hash digest
SHA256 631e7c5715fda5fae739e42cfb3cee41ce5289a171e75a8bc26c299e7f6915db
MD5 e7f3635e63f878830ca764c2bd6f1bc0
BLAKE2b-256 995523ee3d1ab633eb9a501fd0bb1da51382153be7b6475cb4165b78dea277f9

See more details on using hashes here.

Provenance

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

Hashes for floe_python-0.4.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d2ad4de1b02fd4f820a9754569e35ff81c3ef2291ba9325c104731dc2fe8879e
MD5 3c518d6f15d5e68465fae713bb7f01fe
BLAKE2b-256 3700c16f7b48676ba3b0b94a6ab3e6e496371fa10a7f9297aa12f929168bf1db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for floe_python-0.4.1-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b8c7c2640fe901941d94bc97bf498ce8cfeef4c4fbf850466c14dfcab4336510
MD5 02c88f39b1930d3c11eb9301121bcb56
BLAKE2b-256 45ceaff4fc4a79b6439cce9300b8ec0dc3928ee3941e8ecf3a691fe7d3434aa3

See more details on using hashes here.

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

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.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for floe_python-0.4.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 231c95429531e988372382f8d2478ced8ad06cfe3711a27c2c9c7ae99a62049e
MD5 71564e57d94b10ed7926d9da8261605c
BLAKE2b-256 3a61f03827f154fb1a00017459b9a240fa858ca9c5686acf0321c3f7bd382520

See more details on using hashes here.

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

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.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for floe_python-0.4.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0191f74c00156c7b05a2a0edce9631faf9192c025f2686853c161146628bf4e5
MD5 599a5891929d89bb1b53a874275b7c95
BLAKE2b-256 9aed9c16616a4ea591ec569b261ffef97307aa58f01b457ad4efa6305a86ddad

See more details on using hashes here.

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

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.1-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for floe_python-0.4.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b6ae5a6af329c96c7f8a3456ea697795593bcb6d2cd5b0ee893b7e7ddffe6a60
MD5 79587c7030e2e4dbccc08c097ee76dbf
BLAKE2b-256 cc4ec132c6eccc6e70b1662208c6e1bdb54d8078ff64f670e602ac72a83a2a12

See more details on using hashes here.

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

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.1-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for floe_python-0.4.1-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 10af260549e49bb003bd146867ecf3ec192f4f77eba270baf6786bf9135944a0
MD5 18e4159724f63a588f80887079c782cd
BLAKE2b-256 5d4b4d965c9786dbf45b3373824df8e53289a86bcfb46dfd84329994885d3309

See more details on using hashes here.

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

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