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-4.0.1.tar.gz (12.0 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-4.0.1-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file datazone_sdk-4.0.1.tar.gz.

File metadata

  • Download URL: datazone_sdk-4.0.1.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.10.20 Linux/6.17.0-1010-azure

File hashes

Hashes for datazone_sdk-4.0.1.tar.gz
Algorithm Hash digest
SHA256 c75745436422a16073ceffef7c3686dde4568f0b5dca7a8b1f16b0253c50ee2b
MD5 b01173171f4aa20bbad0273cdf6fae09
BLAKE2b-256 76070246b2f996e51cfbe6fbe55e359fcb7a58f73d5819e11f97958fb4b7d2e9

See more details on using hashes here.

File details

Details for the file datazone_sdk-4.0.1-py3-none-any.whl.

File metadata

  • Download URL: datazone_sdk-4.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.10.20 Linux/6.17.0-1010-azure

File hashes

Hashes for datazone_sdk-4.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dcf4701bc0936db950a64cf57ff7219be05f769470075c529fc645df521d7d92
MD5 4ad3d0d95cb47f38e0e7e2c08dd54422
BLAKE2b-256 747ea21086d8e9776ad603e3dd35f270967d9763ec2c49d3216edbd1e05568ef

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