Skip to main content

Database and Delta storage client library for working with Delta Lake tables

Project description

Datazone SDK

Database and Delta storage client library for working with Delta Lake tables.

Overview

This package provides functionality for interacting with Delta Lake tables, including:

  • Database Client: High-level client for querying Delta Lake tables with support for time intervals, time travel, and filtering.
  • Delta Storage: Low-level components for working with Delta tables, schemas, and data types.

Installation

pip install datazone-sdk

Usage

import datazone as dz

# Create a client from a storage account name
client = dz.DatabaseClient.from_resource_name(
    storage_account="<storage-account>",
    container_name="<container-name>",
    sub_path="<sub-path>",
)

# Query a table
df = client.query(
    table_name="my_table",
    filters={"column": "value"},
)

Development

Create a virtual environment, install poetry and run poetry install.

This can be done by running the following in a terminal:

pyenv virtualenv 3.13.11 datazone-sdk
pyenv local datazone-sdk
pip install poetry
poetry install

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

datazone_sdk-6.0.0.dev1.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datazone_sdk-6.0.0.dev1-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file datazone_sdk-6.0.0.dev1.tar.gz.

File metadata

  • Download URL: datazone_sdk-6.0.0.dev1.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.10.20 Linux/6.17.0-1015-azure

File hashes

Hashes for datazone_sdk-6.0.0.dev1.tar.gz
Algorithm Hash digest
SHA256 fbfb48a419026fbcbc907d9461a836af10576cd50254aa41b5c8848a80dbca9f
MD5 05e6c273cf7e70d448bd9e2eab9a438a
BLAKE2b-256 98a2c2b3123a1dbbbe5f27b92dd102ef1cd45221914dd0afd2d617ea3cdd7ac7

See more details on using hashes here.

File details

Details for the file datazone_sdk-6.0.0.dev1-py3-none-any.whl.

File metadata

  • Download URL: datazone_sdk-6.0.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.10.20 Linux/6.17.0-1015-azure

File hashes

Hashes for datazone_sdk-6.0.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 70513b9f7f7d94c4a07a5df1612d29f5df2a66740a4973cc4b9cd21074a65fc6
MD5 0df685ca8b95b6d3e1068a6c1c493f70
BLAKE2b-256 d70ddd5a4c6128e52c3a97b30b62bbb9759135b8d26cb7e65c5c9cce7c31d74e

See more details on using hashes here.

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