Observed since 21 Oct, 10:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aibox-data-lake
AiBox Data Lake Toolkit.
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()
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
boto3Environment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | boto3>=1.40.25 | runtime |
google-cloud-storageEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | google-cloud-storage<4,>=3.3.1 | runtime |
ibis-frameworkEnvironment{
"extras": "duckdb",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | ibis-framework[duckdb]<12,>=11.0.0 | runtime |
pandasEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | pandas<3,>=2.3.2 | runtime |
platformdirsEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | platformdirs<5,>=4.4.0 | runtime |
pyarrowEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | pyarrow<22,>=21.0.0 | runtime |
pydanticEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | pydantic<3,>=2.11.7 | runtime |
pydantic-settingsEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | pydantic-settings<3,>=2.10.1 | runtime |
richEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | rich<15,>=14.1.0 | runtime |
smart-openEnvironment{
"extras": "all",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | smart-open[all]<8,>=7.3.1 | runtime |
tqdmEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | tqdm>=4.67.2 | runtime |
typerEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | typer<1,>=0.17.4 | runtime |
uvEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | uv<1,>=0.8.15 | runtime |
bdist_wheel · 15.56 KB · Python py3
sdist · 12.17 KB · Python source
Observed since 21 Oct, 10:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:8a91bb39617dc0730297e04ab69d877de25478b6f0fac123b37dde76eab8ef6a