feat: add BigQuery Python functions and BQClient type

Funciones CRUD completas para BigQuery: auth, datasets, tables, queries,
jobs, routines, load/export. Tipo BQClient como wrapper del SDK oficial.
This commit is contained in:
2026-04-07 18:45:02 +02:00
parent c311623a76
commit 690e68a542
33 changed files with 2720 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
from .client import BQClient, bq_auth
from .tables import (
bq_create_table,
bq_get_table,
bq_list_tables,
bq_update_table,
bq_delete_table,
bq_preview_rows,
)
from .datasets import (
bq_create_dataset,
bq_get_dataset,
bq_list_datasets,
bq_update_dataset,
bq_delete_dataset,
)
from .queries import bq_query, bq_insert_rows, bq_load_from_gcs, bq_load_from_file, bq_export_to_gcs, bq_copy_table
from .jobs import bq_get_job, bq_list_jobs, bq_cancel_job
from .routines import bq_create_routine, bq_list_routines, bq_delete_routine
__all__ = [
"BQClient", "bq_auth",
"bq_create_table", "bq_get_table", "bq_list_tables", "bq_update_table", "bq_delete_table", "bq_preview_rows",
"bq_create_dataset", "bq_get_dataset", "bq_list_datasets", "bq_update_dataset", "bq_delete_dataset",
"bq_query", "bq_insert_rows", "bq_load_from_gcs", "bq_load_from_file", "bq_export_to_gcs", "bq_copy_table",
"bq_get_job", "bq_list_jobs", "bq_cancel_job",
"bq_create_routine", "bq_list_routines", "bq_delete_routine",
]