Metadata-Version: 2.4
Name: datazone-sdk
Version: 1.0.3.dev1
Summary: Database and Delta storage client library for working with Delta Lake tables
Author: Team Enigma
Author-email: enigma@energinet.dk
Requires-Python: >=3.10
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: datamazing (>=5.1.6)
Requires-Dist: deltalake (>=1.5.1)
Requires-Dist: obstore (>=0.8.2)
Requires-Dist: pandas (>=2.0.3,<3)
Requires-Dist: polars (>=1.33.1)
Requires-Dist: pyarrow (>=19.0.0)
Description-Content-Type: text/markdown

# 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

```bash
pip install datazone-sdk
```

## Usage

```python
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"},
)
```
