aibox-data-lake
AiBox Data Lake Toolkit.
Quickstart
O AiBox Data Lake Toolkit é uma biblioteca enxuta que fornece acesso uniforme a Data Lakes em provedores de nuvem (e.g., GCP). Essa biblioteca foi desenvolvida para uso interno, mas grande parte do código-fonte e dos padrões adotados são comuns e podem ser aplicados a outros contextos.
A biblioteca pode ser instalada usando o seu gerenciador de pacotes preferido:
uv add aibox-data-lake
uv pip install aibox-data-lake
pip install aibox-data-lake
Depois de instalada, a biblioteca pode ser configurada através do aibox-dl config. A biblioteca fornece um registro simples de buckets, que associa a URL de um bucket (e.g., gs://my-bucket) a um nome (e.g., bronze). As credenciais da nuvem devem ser configuradas pelas bibliotecas cliente do provedor (e.g., google-cloud-storage, boto3). A CLI também oferece outros recursos, como listagem de objetos e leitura de metadados de datasets.
Também é possível utilizar a biblioteca com a URL do bucket diretamente, sem a necessidade de configuração extra.
A principal classe para acesso e manipulação programática do Data Lake é a aibox.data_lake.Client. Essa classe fornece métodos para operações comuns no Data Lake, como leitura de arquivos específicos ou carregamento de datasets. Exemplo de uso:
from aibox.data_lake import Client
# Load the configuration and authenticates
# to the cloud providers.
client = Client()
# List all objects on a 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()
Metadata
Release files for aibox-data-lake 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aibox_data_lake-1.3.0.tar.gz | 12.5 kB | Without provenance | Details for aibox_data_lake-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aibox_data_lake-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for aibox_data_lake-1.3.0-py3-none-any.whl |
Total release size: 28.4 kB
Release files / aibox_data_lake-1.3.0.tar.gz
| Download URL | aibox_data_lake-1.3.0.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6785bf40b046f0826b89fcc11cd15eea70ec19335d00d35b62e59b196b4979fb
|
|
BLAKE2b-256 checksum How to use checksums |
ad6a56862dfc57e3adfe309e20060eb1c5468620edbcddbe80225ef9c1cd0378
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.15
|
Release files / aibox_data_lake-1.3.0-py3-none-any.whl
| Download URL | aibox_data_lake-1.3.0-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
adeca4a4f2f548019cab86347dd1e9d3150c6ca214c771bec417dfc84eedd464
|
|
BLAKE2b-256 checksum How to use checksums |
7fbe46a2c48215bd49f42f9fd04719ef3b68bba4e0f897002c23f06b82facb6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.15
|
Security for aibox-data-lake 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.