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.0.tar.gz (314.9 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.0-cp310-abi3-win_amd64.whl (68.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

floe_python-0.4.0-cp310-abi3-musllinux_1_2_x86_64.whl (69.3 MB view details)

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

floe_python-0.4.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (69.2 MB view details)

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

floe_python-0.4.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (65.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

floe_python-0.4.0-cp310-abi3-macosx_11_0_arm64.whl (59.6 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

floe_python-0.4.0-cp310-abi3-macosx_10_12_x86_64.whl (63.9 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: floe_python-0.4.0.tar.gz
  • Upload date:
  • Size: 314.9 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.0.tar.gz
Algorithm Hash digest
SHA256 0c1fd4c6ec7e2bd4e41d4fce23f09a25efe00d8f8e0bc3f095fc7e4a01f33ee0
MD5 54bc4c0e873bdcd488baaf895cebb59d
BLAKE2b-256 bd5ed50b9f9dc68608927cc00a233e7d5069e0d1a5124bf7fcdbb6c5c71eb1e1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: floe_python-0.4.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 68.2 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.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 60cf7ee2854b8465c581385c02d0f02a11038db6e0b9b6ab892b01b519b9fd27
MD5 22ec1c5747e9bb01499c805f5a76e503
BLAKE2b-256 04b12ded4e65d183fe482e0afee2ef5163353574883d03e63b21c28312a02b50

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for floe_python-0.4.0-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7e816fb74bf408270e84cfd4b0c6384bc5b39165f0ad36f58baa546ab1d7c4da
MD5 75baf3420dcb372b8b22a1c5d5dd41ac
BLAKE2b-256 7cf3614eaad3ce4d523ce90a6de22670589785e9a329e9e0bb7f0096380c9b1b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for floe_python-0.4.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 09288d37d4726269178d89e54b0c2301f27801e2c3e556fb8867510c12337322
MD5 76e7c056bf5d72d1a0d942e5c64920e1
BLAKE2b-256 342bd41f71d410c3af4e0442ae7e8a8de542acf45808b4f4901102a1b0a962a6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for floe_python-0.4.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 34661125fbbb7c247a36910262d99e72e4348eeb26ff2c9a42c469804c609b33
MD5 46812670ff5ba5573aa9d480f5377a3b
BLAKE2b-256 78e5297e69f12eec47f0b4d3d734cd7cde40052541c3f7c063d24b35a75cbf2f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for floe_python-0.4.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 634dd0586296f88b11d489212d9b6f5b4f2547d9e4611a52cd49ca113e970b72
MD5 c56f0ecd7f62fa74207cfb146bf46de2
BLAKE2b-256 f97a37d3e86caf28c4806193172d63863af2b76fe31266d9f70e551d94fced6a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for floe_python-0.4.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 454c20facb5603735c2aba91a65ad74a332857ae0c569eb13656f3e3cc859d40
MD5 4636e98c158913a405f92b989b8f1b90
BLAKE2b-256 3c0bf5751e844bd3fc4644d4a0d7d38755961b86b986cf01f669417f4bccf8f6

See more details on using hashes here.

Provenance

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