Registry / gcp / google-cloud-bigquery-biglake

google-cloud-bigquery-biglake

JSON →
library0.8.0pypypi✓ verified 23d ago

The `google-cloud-bigquery-biglake` library is the Python client for the Google Cloud BigLake API. BigLake serves as a unified storage engine, simplifying data access for data warehouses and data lakes. It offers uniform, fine-grained access control across multi-cloud storage solutions like Google Cloud Storage, Amazon S3, and Azure Data Lake Storage, and supports querying open-source table formats such as Apache Iceberg in BigQuery. This library is part of the larger `google-cloud-python` monorepo, suggesting a consistent release and maintenance cadence aligned with other Google Cloud client libraries.

pip install google-cloud-bigquery-biglake
INSTALL
IMPORT
SIG · GOOGLE-CLOUD-BIGQU
G
google-cloud-bigquery-biglake
gcppythonv0.8.0
Install
5.6s avg
Import
1378ms
Disk
69MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.8.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 1.574s · 70.4MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 5.6s · import 1.182s · 69MB
69MB installed
● package 69MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BigLakeServiceClient
from google.cloud import bigquery_biglake_v1
from google.cloud.bigquery_biglake_v1 import BigLakeServiceClient

This quickstart demonstrates how to initialize the BigLakeServiceClient and list available BigLake catalogs within a specified Google Cloud project and location. Ensure your `GOOGLE_CLOUD_PROJECT` and `GOOGLE_CLOUD_LOCATION` environment variables are set or replace the placeholder values. Authentication typically relies on Application Default Credentials.

import os from google.cloud.bigquery_biglake_v1 import BigLakeServiceClient # Set your Google Cloud Project ID and a location (e.g., 'us-central1') project_id = os.environ.get('GOOGLE_CLOUD_PROJECT', 'your-gcp-project-id') location = os.environ.get('GOOGLE_CLOUD_LOCATION', 'us-central1') # Ensure you have authenticated to Google Cloud. For local development, use: # gcloud auth application-default login def list_biglake_catalogs(project_id: str, location: str): """Lists BigLake catalogs in a given project and location.""" client = BigLakeServiceClient() parent = f"projects/{project_id}/locations/{location}" print(f"Listing BigLake catalogs in {parent}:") try: # The list_catalogs method returns an iterable of Catalog objects for catalog in client.list_catalogs(parent=parent): print(f" Catalog: {catalog.name}") except Exception as e: print(f"An error occurred: {e}") print("Ensure the BigLake API is enabled for your project and the service account has 'biglake.catalogs.list' permission.") if __name__ == "__main__": list_biglake_catalogs(project_id, location)
Debug
Known issues
breakingThe library is currently at version 0.7.0. While API stability is generally high for Google Cloud client libraries, pre-1.0.0 versions may introduce breaking changes in minor releases. Always review release notes when upgrading to new minor versions (e.g., 0.7.x to 0.8.x).
fix
Consult the `google-cloud-python` monorepo release notes for `google-cloud-bigquery-biglake` prior to upgrading to new minor versions.
affects: <1.0.0
gotchaThe BigLake API must be explicitly enabled in your Google Cloud project before you can use this client library to interact with BigLake resources.
fix
Enable the BigLake API via the Google Cloud Console or `gcloud services enable biglake.googleapis.com`.
affects: All
gotchaProper authentication is required. For local development, Application Default Credentials (ADC) are recommended, often set up using `gcloud auth application-default login` or by setting the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to a service account key file.
fix
Ensure your environment is authenticated correctly. On Google Cloud infrastructure, credentials are often discovered automatically through the attached service account.
affects: All
gotchaThe library's logging is not configured by default and may contain sensitive information.
fix
Configure logging explicitly if needed. You can set the `GOOGLE_SDK_PYTHON_LOGGING_SCOPE` environment variable or use advanced code-based configuration. Be mindful of sensitive data in logs.
affects: All
Upgrade
Version history
0.8.0latest on PyPI · released Jun 3, 2026
Audit
Dependencies
PythonrequiredRequires Python version 3.9 or higher.
Agent activity
24 hits · last 30 days
node
22
OpenAI (training)
1
Resources
google-cloud-bigquery-biglake — pip install google-cloud-bigquery-biglake · libregistry