This package (PyPI: `delta-kernel-rust-sharing-wrapper`) provides Python bindings to the `delta-kernel-rs` (Rust) crate, enabling Python users to read Delta Lake tables. It exports its functionality via the `delta_kernel_python` module. It serves as a foundational, low-level component, often consumed by higher-level Delta Lake Python clients. Current version is 0.3.1; releases are typically coordinated with updates to the underlying Rust kernel.
pip install delta-kernel-rust-sharing-wrapperVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to use `delta_kernel_python.scan_table` to read a Delta Lake table and process its data using PyArrow's Dataset API. It assumes a Delta table exists at `DELTA_TABLE_PATH` (or `./my_local_delta_table` by default). Cloud storage paths require correctly configured environment variables for credentials.
Use `import delta_kernel_python` in your Python code.
Ensure your `pyarrow` version falls within the range specified by `pip install delta-kernel-rust-sharing-wrapper` or check the `pyproject.toml` of the specific library version.
Pin your dependency to a specific minor version (e.g., `delta-kernel-rust-sharing-wrapper~=0.3.0`) and review release notes carefully when upgrading.
Configure cloud storage credentials in your environment or via standard cloud provider SDK configuration methods before running applications that read from cloud-based Delta tables.