Skip to main content

Deltalake-python

PyPI userdoc apidoc

Native Delta Lake Python binding based on delta-rs with Pandas integration.

Example

from deltalake import DeltaTable
dt = DeltaTable("../rust/tests/data/delta-0.2.0")
dt.version()
3
dt.files()
['part-00000-cb6b150b-30b8-4662-ad28-ff32ddab96d2-c000.snappy.parquet',
 'part-00000-7c2deba3-1994-4fb8-bc07-d46c948aa415-c000.snappy.parquet',
 'part-00001-c373a5bd-85f0-4758-815e-7eb62007a15c-c000.snappy.parquet']

See the user guide for more examples.

Installation

# with pip
pip install deltalake
# with uv
uv add deltalake
# with poetry
poetry add deltalake

NOTE: official binary wheels are linked against openssl statically for remote objection store communication. Please file Github issue to request for critical openssl upgrade.

Build custom wheels

Sometimes you may wish to build custom wheels. Maybe you want to try out some unreleased features. Or maybe you want to tweak the optimization of the Rust code.

To compile the package, you will need the Rust compiler and maturin:

curl https://sh.rustup.rs -sSf | sh -s

Then you can build wheels for your own platform like so:

```sh
uvx maturin build --release --out wheels

Note:

  • uvx invokes a tool without installing it.
  • if you plan to often use maturin, you can install the "tool" with uv tool install maturin.

For a build that is optimized for the system you are on (but sacrificing portability):

RUSTFLAGS="-C target-cpu=native" uvx maturin build --release --out wheels

Cross compilation

The above command only works for your current platform. To create wheels for other platforms, you'll need to cross compile. Cross compilation requires installing two additional components: to cross compile Rust code, you will need to install the target with rustup; to cross compile the Python bindings, you will need to install ziglang.

The following example is for manylinux2014. Other targets will require different Rust target and Python compatibility tags.

rustup target add x86_64-unknown-linux-gnu

Then you can build wheels for the target platform like so:

uvx --from 'maturin[zig]' maturin build --release --zig \
    --target x86_64-unknown-linux-gnu \
    --compatibility manylinux2014 \
    --out wheels

If you expect to only run on more modern system, you can set a newer target-cpu flag to Rust and use a newer compatibility tag for Linux. For example, here we set compatibility with CPUs newer than Haswell (2013) and Linux OS with glibc version of at least 2.24:

RUSTFLAGS="-C target-cpu=haswell" uvx --from 'maturin[zig]' maturin build --release --zig \
    --target x86_64-unknown-linux-gnu \
    --compatibility manylinux_2_24 \
    --out wheels

See note about RUSTFLAGS from the arrow-rs readme.

Metadata

Release files for deltalake 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deltalake 1.1.2
File Size Uploaded Provenance Actions
deltalake-1.1.2.tar.gz 5.1 MB Without provenance Details for deltalake-1.1.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for deltalake 1.1.2
File Actions
deltalake-1.1.2-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for deltalake-1.1.2-cp39-abi3-win_amd64.whl
deltalake-1.1.2-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details for deltalake-1.1.2-cp39-abi3-manylinux_2_28_aarch64.whl
deltalake-1.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for deltalake-1.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
deltalake-1.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for deltalake-1.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
deltalake-1.1.2-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for deltalake-1.1.2-cp39-abi3-macosx_11_0_arm64.whl
deltalake-1.1.2-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for deltalake-1.1.2-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 262.1 MB

Release files / deltalake-1.1.2.tar.gz

Download URL deltalake-1.1.2.tar.gz
Size 5.1 MB
Tags Source
SHA-256 checksum
How to use checksums
b3f896628876cc0465dccfb40cf76eaf977c6b551197e8e29da30f0457abb841
BLAKE2b-256 checksum
How to use checksums
041f6b74332cb87d63dbda95eb1a5a68027d8324dd5183ec36f6eaa86eb489b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / deltalake-1.1.2-cp39-abi3-win_amd64.whl

Download URL deltalake-1.1.2-cp39-abi3-win_amd64.whl
Size 42.8 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
fafda3d945d5bfa4a57b550acd8bbfa905c9c1cc1c860bb6d3dcbbd7397a1caf
BLAKE2b-256 checksum
How to use checksums
5878ac876ffc4cce6d6418ccffac516c6d9f96bccae5b8b4d2220d7931a4f5ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.1

Release files / deltalake-1.1.2-cp39-abi3-manylinux_2_28_aarch64.whl

Download URL deltalake-1.1.2-cp39-abi3-manylinux_2_28_aarch64.whl
Size 40.7 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
fea0a0243835bf0e1d8e0c5ad4e3f4c3a0625d914583fc7a5ad6c970d18529e3
BLAKE2b-256 checksum
How to use checksums
998aae44311d15a044fda4dfea67e625ac33b693139a7ce8e963336d704e4010
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.1

Release files / deltalake-1.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL deltalake-1.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 51.8 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
054b4595328e1052714a96e1e64e0c7c4c7309a14c4cc796eda1be903fb8d945
BLAKE2b-256 checksum
How to use checksums
5c8d2b74c1e918da4f875daed278e8c6f3899abed94a2a0464d5763c6880a4c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / deltalake-1.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL deltalake-1.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 40.7 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
e8e87794def72bd72d73a3c61a92d556243edbaa73e92e70d38fe8ff6bfeb9e6
BLAKE2b-256 checksum
How to use checksums
0ed2488f1248225986e29bea6622ca4163ccee6a48905a3ce92de63925b16888
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.1

Release files / deltalake-1.1.2-cp39-abi3-macosx_11_0_arm64.whl

Download URL deltalake-1.1.2-cp39-abi3-macosx_11_0_arm64.whl
Size 39.0 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
945980e38375cc50691fa996048d40f74dedded7e7bd1fba24159f2404c65c0f
BLAKE2b-256 checksum
How to use checksums
8c7725d6305e4bbca34a0299b0b568ac3ff6d970c84c9cca04d9907eaebc22d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.1

Release files / deltalake-1.1.2-cp39-abi3-macosx_10_12_x86_64.whl

Download URL deltalake-1.1.2-cp39-abi3-macosx_10_12_x86_64.whl
Size 41.9 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
19af2913e0f1ec0707787f0233f991ce20cb1f3dc23094abbed4af6c713f8874
BLAKE2b-256 checksum
How to use checksums
d2a65552018ab662e09f2c311a5ed635aa56f27aa953520c6566a915446be225
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.1

Security for deltalake 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.2 This release

7 release files No provenance

0.4.3

0.4.2

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page