Deltalake-python
Native Delta Lake binding for Python based on delta-rs.
Installation
pip install 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.
Usage
Resolve partitions for current version of the DeltaTable:
>>> 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']
Convert DeltaTable into PyArrow Table and Pandas Dataframe:
>>> from deltalake import DeltaTable
>>> dt = DeltaTable("../rust/tests/data/simple_table")
>>> df = dt.to_pyarrow_table().to_pandas()
>>> df
id
0 5
1 7
2 9
>>> df[df['id'] > 5]
id
1 7
2 9
Time travel:
>>> from deltalake import DeltaTable
>>> dt = DeltaTable("../rust/tests/data/simple_table")
>>> dt.load_version(2)
>>> dt.to_pyarrow_table().to_pandas()
id
0 5
1 7
2 9
3 5
4 6
5 7
6 8
7 9
Develop
maturin is used to build the python package.
To install development version of the package into your current Python environment:
$ maturin develop
Build manylinux wheels
docker run -e PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig -it -v `pwd`:/io apache/arrow-dev:amd64-centos-6.10-python-manylinux2010 bash
curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
rustup default stable
cargo install --git https://github.com/PyO3/maturin.git --rev 98636cea89c328b3eba4ebb548124f75c8018200 maturin
cd /io/python
export PATH=/opt/python/cp37-cp37m/bin:/opt/python/cp38-cp38/bin:$PATH
maturin publish -b pyo3 --target x86_64-unknown-linux-gnu --no-sdist
Metadata
Release files for deltalake 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 63.7 MB
Release files / deltalake-0.1.4-cp39-none-win_amd64.whl
| Download URL | deltalake-0.1.4-cp39-none-win_amd64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0b8ab6375918535c75935317605cdf9a991e9ac3f1613372108a6224f2f73efc
|
|
BLAKE2b-256 checksum How to use checksums |
0aecb04352d37373f3528ca347b2bb1d0d1049dfb78ccf17d3053c86778c490d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.9.0
|
Release files / deltalake-0.1.4-cp39-cp39-manylinux2010_x86_64.whl
| Download URL | deltalake-0.1.4-cp39-cp39-manylinux2010_x86_64.whl |
|---|---|
| Size | 6.4 MB |
| Tags | CPython 3.9 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
273153c8069ceabc1cae38311dc56927a1f56f3d986adda354c4225d0d10ada3
|
|
BLAKE2b-256 checksum How to use checksums |
639599389aa1d59c885215c35d4329d68760db89e7abfa948937fc47a39a2580
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.9.0
|
Release files / deltalake-0.1.4-cp39-cp39-macosx_10_7_x86_64.whl
| Download URL | deltalake-0.1.4-cp39-cp39-macosx_10_7_x86_64.whl |
|---|---|
| Size | 4.8 MB |
| Tags | CPython 3.9 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
5c5c3949b6185979eb44ae19ee66b259498bb2dbd5271c1db8bff4ef9d7828de
|
|
BLAKE2b-256 checksum How to use checksums |
543940c391fc4865b499a194dc7079f2ef3365cfe3d66a04d50e71030fd83cd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.9.0
|
Release files / deltalake-0.1.4-cp38-none-win_amd64.whl
| Download URL | deltalake-0.1.4-cp38-none-win_amd64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6c505faf63e21d168243d4cb398209168a3b369d463805eb6d876729d670cb54
|
|
BLAKE2b-256 checksum How to use checksums |
da53f872de0beaad18f04457178428c7b66f1bd9d9fcb19664b211d6a23fa383
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.9.0
|
Release files / deltalake-0.1.4-cp38-cp38-manylinux2010_x86_64.whl
| Download URL | deltalake-0.1.4-cp38-cp38-manylinux2010_x86_64.whl |
|---|---|
| Size | 6.4 MB |
| Tags | CPython 3.8 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
7c8ae30c7643bb77b5ecd95bdfa0d6542e5b7cd7896d1bba684653eb9297b946
|
|
BLAKE2b-256 checksum How to use checksums |
8692f47f36db21c7b656d726eb715c2fe9d4dcc2fe95c26fe0465b0d77afebb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.9.0
|
Release files / deltalake-0.1.4-cp38-cp38-macosx_10_7_x86_64.whl
| Download URL | deltalake-0.1.4-cp38-cp38-macosx_10_7_x86_64.whl |
|---|---|
| Size | 4.8 MB |
| Tags | CPython 3.8 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
a789569d48bf8db520d8616b1416580b9ccd43dbe8c354b1faab9dca68e7a48b
|
|
BLAKE2b-256 checksum How to use checksums |
a9d1c2696915db06d026d09cfd0d2426ee19c99a77ad822e556fb174a9a4b6e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.9.0
|
Release files / deltalake-0.1.4-cp37-none-win_amd64.whl
| Download URL | deltalake-0.1.4-cp37-none-win_amd64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.7 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
edb7f89ba1720b9495ba31651a3aa56158c190c0855670fa897d08625343cb84
|
|
BLAKE2b-256 checksum How to use checksums |
c6a52e382b2bd819028a975f50d0a2cf29dd9af09bc933620a34adbf0d3354a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.9.0
|
Release files / deltalake-0.1.4-cp37-cp37m-manylinux2010_x86_64.whl
| Download URL | deltalake-0.1.4-cp37-cp37m-manylinux2010_x86_64.whl |
|---|---|
| Size | 6.4 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
dfcbad32824c283d9076b376710d50e5875c133f03c045f7a750eaac478d131d
|
|
BLAKE2b-256 checksum How to use checksums |
dd8e7a2159590e8749edb13e687442e3dc6b6e489204b8f1e6d618671587575c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.9.0
|
Release files / deltalake-0.1.4-cp37-cp37m-macosx_10_7_x86_64.whl
| Download URL | deltalake-0.1.4-cp37-cp37m-macosx_10_7_x86_64.whl |
|---|---|
| Size | 4.8 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
f1bf6b1c9df851b97044283d05ba59e68c059f066fad3cf50ef722f4af56533a
|
|
BLAKE2b-256 checksum How to use checksums |
cc56c9c7033acaed5f95d862d1f3af8cd264b1e69abb8809d6a092a7feb4ce91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.9.0
|
Release files / deltalake-0.1.4-cp36-none-win_amd64.whl
| Download URL | deltalake-0.1.4-cp36-none-win_amd64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.6 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
739c7fbd206608e70025a0d8f5a4a1b95e30a68c1de52274e9f25686eacc783f
|
|
BLAKE2b-256 checksum How to use checksums |
56353f93f88a5ee59627dd410c2ef44a86aeb2717b770e58565dbf03e79974e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.9.0
|
Release files / deltalake-0.1.4-cp36-cp36m-manylinux2010_x86_64.whl
| Download URL | deltalake-0.1.4-cp36-cp36m-manylinux2010_x86_64.whl |
|---|---|
| Size | 6.4 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
5b0aa57e5bc80ee3c5cdde5d18ebcadfd8b19c9dd5571bd704267fc589da04b1
|
|
BLAKE2b-256 checksum How to use checksums |
6b9b3ae11f20c2b5da3b6a391c112ce1ebb35afd4677bbf2af5fc071e286c139
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.9.0
|
Release files / deltalake-0.1.4-cp36-cp36m-macosx_10_7_x86_64.whl
| Download URL | deltalake-0.1.4-cp36-cp36m-macosx_10_7_x86_64.whl |
|---|---|
| Size | 4.8 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
d41247a2e8227218d677899955662f83c617265865dff1a42a5f40ca39f69af2
|
|
BLAKE2b-256 checksum How to use checksums |
406560ad263a8a928e4b15e773de44c665b97a2d3f230abf144e98c802e7527c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.9.0
|
Security for deltalake 0.1.4
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.