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-3.0.0.tar.gz (11.7 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-3.0.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: datazone_sdk-3.0.0.tar.gz
  • Upload date:
  • Size: 11.7 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-3.0.0.tar.gz
Algorithm Hash digest
SHA256 b4dba3da4dc0bf5d5e7ccd3a8cff2a5f5dd05d4442f36cf1466364badd6b45ff
MD5 166896b94e5cc2fcebe0e8798007b492
BLAKE2b-256 12c1cb54cd3b2c7ab6605939496d8b129d9963763869df1f28a684852f9e377e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: datazone_sdk-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.0 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-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4f39324b6ad7e136ce641e8f61edac58c0cee922480dd4b5060db453ed67948
MD5 2e0e4414d3d8c000ea9f9482cd71f89e
BLAKE2b-256 e9ab11055b64679330effaf8c0c0d4c381841a3657eb9354c9386b1f62a7a30b

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