System Requirements
Before installing the Delta Sharing Python Connector, ensure your system meets the following requirements:- Python 3.8+ for delta-sharing version 1.1+
- Python 3.6+ for older versions (1.0.x)
- Linux users: glibc version >= 2.31 (for automatic delta-kernel-rust-sharing-wrapper installation)
Basic Installation
Install the Delta Sharing Python Connector using pip:delta-kernel-rust-sharing-wrapper>=0.3.1- Rust-based kernel for efficient data readingpandas- DataFrame librarypyarrow>=16.1.0- Apache Arrow library for columnar datafsspec>=0.7.4- Filesystem specificationrequests- HTTP libraryaiohttp- Asynchronous HTTP clientyarl>=1.6.0- URL parsing libraryjwcrypto>=1.5.6- JSON Web Crypto implementation
Cloud Storage Support
To access shared tables on specific cloud storage platforms, install the corresponding extras:Databricks Runtime
If you are using Databricks Runtime, follow the Databricks Libraries documentation to install the library on your clusters:Navigate to Libraries
In your Databricks workspace, go to your cluster configuration and select the Libraries tab.
Troubleshooting delta-kernel-rust-sharing-wrapper
The delta-sharing package depends ondelta-kernel-rust-sharing-wrapper, which is a Rust-based component. If you encounter installation issues, try the following solutions:
Common Issues and Solutions
Installation fails with 'delta-kernel-rust-sharing-wrapper' error
Installation fails with 'delta-kernel-rust-sharing-wrapper' error
Try these steps in order:
-
Verify Python version:
-
Upgrade pip to the latest version:
-
Check glibc version (Linux only):
-
Install Rust if building from source is required:
No pre-built wheel available for your platform
No pre-built wheel available for your platform
If PyPI does not have a pre-built wheel for your environment, pip will attempt to build the package from source. This requires Rust to be installed.Check available pre-built wheels at: https://pypi.org/project/delta-kernel-rust-sharing-wrapper/#filesSupported platforms typically include:
- Linux (x86_64, glibc >= 2.31)
- macOS (x86_64, arm64)
- Windows (x86_64)
Cannot upgrade glibc on Linux
Cannot upgrade glibc on Linux
If you cannot upgrade glibc to version 2.31 or higher, you have two options:Option 1: Manual installation with RustOption 2: Use an older version
Version 1.0.5 does not include delta-kernel-rust-sharing-wrapper and may have limited functionality compared to newer versions.
Manual Build from Source
For advanced users who need to build the Rust wrapper manually:Development Installation
For development purposes, you can install delta-sharing in editable mode:Verification
Verify your installation by importing the package and checking the version:Next Steps
Quick Start
Learn how to read your first shared table
API Reference
Explore the complete API documentation