AiBox Data Lake Toolkit.
Project description
aibox-data-lake
AiBox Data Lake Toolkit.
Quickstart
The AiBox Data Lake Toolkit is a slim library that provides uniform access to Data Lakes on Cloud Providers (e.g., GCP). This library is developed for internal usage, but most of the source code and standards adopted are common for other purposes.
The library can be installed with your favorite package manager:
uv add aibox-data-lake
uv pip install aibox-data-lake
pip install aibox-data-lake
Once installed, the library must be configured by running aibox-dl config. The library provides a simple registry for buckets (on any major cloud), which associates a bucket URL (e.g., gs://my-bucket) to a name (e.g., bronze). The cloud credentials must be configured by the cloud client libraries (e.g., google-cloud-storage, boto3). The CLI provides other features such as listing objects, and reading dataset metadata.
The main class for programmatic access and manipulation of the Data Lake is the aibox.data_lake.Client. This class provides methods for common operations on the Data Lake, such as reading specific files or loading datasets. Example usage:
from aibox.data_lake import Client
# Load the configuration and authenticates
# to the cloud providers.
client = Client()
# List all objects present on the
# bronze-tier bucket
client.list_objects("<bucket-name>")
# Loads a structured data source (e.g.,
# .parquet, .csv).
ds = client.get_tabular_dataset("<bucket-name>", "<dataset-prefix>")
# A structured data source can be easily
# loaded to a DataFrame
ds.to_frame()
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aibox_data_lake-1.1.2.tar.gz.
File metadata
- Download URL: aibox_data_lake-1.1.2.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3073bb916250b68f51109ecb2d6a2d4062a087c5335d91fcea8cb95d1ff4b36
|
|
| MD5 |
02dd82bee9d3d907fc6a6c3e64142ba4
|
|
| BLAKE2b-256 |
3d511bf28bff0c0ab50bf3ce9261838dba65cc1df7180a1501f6fb9f4ed85ffc
|
File details
Details for the file aibox_data_lake-1.1.2-py3-none-any.whl.
File metadata
- Download URL: aibox_data_lake-1.1.2-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6866e524577f1947526187c16557f48e765ed1a68a49833510ae039d4e24b76
|
|
| MD5 |
c6637af0a19a7336fe6b26bc59bb72b4
|
|
| BLAKE2b-256 |
2120d866cb9410ee36e61a336fcbe71a839f499ea095d56c55aca9beaa3f48af
|