skillfed

google-cloud-bigquery-reservation

Google Cloud Bigquery Reservation API client library

google-cloud-bigquery-reservation v1.25.0 147.5K downloads/30d#11,062 on PyPI5,373
Permissive license Apache-2.0 Active released

What it is and what it does

This is Google's official Python client library for the BigQuery Reservation API, a service that lets you manage reserved compute capacity on Google Cloud. It wraps the underlying gRPC and REST APIs into a Pythonic interface, handling authentication, serialization, and error handling automatically. The library is built on google-api-core and uses proto-plus for message handling, making it consistent with other Google Cloud client libraries.

You use it to programmatically create, modify, and query BigQuery reservations—the dedicated compute slots that give you predictable query performance and costs. It's primarily for infrastructure-as-code workflows, automation, and integration with larger cloud management systems. The library requires Python 3.10 or later and assumes you have Google Cloud credentials configured; it's production-stable and actively maintained by Google.

Use it for:

  • Automate BigQuery reservation provisioning and scaling in response to workload demands or cost optimization policies.
  • Query and monitor existing reservations and slot commitments as part of a cloud cost management dashboard.
  • Integrate BigQuery capacity management into infrastructure-as-code pipelines (Terraform, Pulumi, etc.).
  • Build internal tools to manage team or project-level reservation allocations across multiple Google Cloud projects.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Python client library for managing BigQuery reservations on Google Cloud Platform, enabling programmatic control over reservation capacity and allocation.

Yes, if you need to manage BigQuery reservations programmatically. The library is production-stable, actively maintained, has no known vulnerabilities, and low install friction. It's the official Google client, so it's the right choice for reservation automation. Not needed if you only query BigQuery data or manage reservations exclusively through the console.

Install

google-cloud-bigquery-reservation on PyPI

pip

pip install google-cloud-bigquery-reservation

uv

uv add google-cloud-bigquery-reservation

poetry

poetry add google-cloud-bigquery-reservation

Installing google-cloud-bigquery-reservation

Before you install

Low install friction with a pure-wheel distribution. Actively maintained as of 2026-06-03 with recent activity. Depends on standard Google Cloud libraries (google-api-core, google-auth, grpcio, proto-plus, protobuf, grpc-google-iam-v1), all widely used and stable.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production environments.

Quickstart

pip install google-cloud-bigquery-reservation

from google.cloud import bigquery_reservation_v1

client = bigquery_reservation_v1.ReservationServiceClient()
project = "projects/my-project"
reservations = client.list_reservations(parent=project)

Requires Python >= 3.10. Google Cloud credentials must be configured (via GOOGLE_APPLICATION_CREDENTIALS or Application Default Credentials).

Verify before relying

  • Specific reservation management operations supported (create, update, delete, list) beyond what the excerpt confirms.
  • Whether the library handles slot commitments and flex slots or only standard reservations.
  • Real-world performance characteristics and latency for large-scale reservation queries.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 6 — google-api-core, google-auth, grpcio, proto-plus, protobuf, grpc-google-iam-v1
Maintenance actively maintained — 72 days since the last release
Last repo commit
First released
Downloads 147,517/month — #11,062 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: google_cloud_bigquery_reservation-1.25.0-py3-none-any.whl

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet

Tags

bigquery reservation managementgoogle cloud bigquery api clientbigquery capacity planningcloud reservation python clientbigquery slot allocationgoogle cloud python sdk
google-cloudbigqueryinfrastructure-as-code

More Internet packages

botocore

Botocore provides low-level, data-driven access…

permissive · top 100 on PyPI

aiobotocore

Provides an async client for AWS services using…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

filelock

Provides a platform-independent file locking…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

googleapis-common-protos

Provides common Protocol Buffer message…

permissive · top 100 on PyPI

google-cloud-bigquery-datapolicies

Provides a Python client library for managing…

permissive · top 15,000 on PyPI

google-cloud-bigquery-connection

Manages BigQuery connections to external data…

permissive · top 15,000 on PyPI

google-cloud-bigquery-storage

Provides a Python client library for reading…

permissive · top 1,000 on PyPI

google-cloud-bigquery-logging

Python client library for Google Cloud BigQuery…

permissive · top 15,000 on PyPI

google-cloud-bigquery-datatransfer

Python client library for scheduling and…

permissive · top 1,000 on PyPI

google-cloud-bigquery-biglake

Python client library for accessing BigLake…

permissive · top 5,000 on PyPI

google-cloud-functions

Python client library for Google Cloud…

permissive · top 5,000 on PyPI

google-cloud-tasks

Python client library for Google Cloud Tasks,…

permissive · top 1,000 on PyPI

google-cloud-billing

Programmatic access to Google Cloud Platform…

permissive · top 15,000 on PyPI

excel

This package is a name reservation by Microsoft…

unclear · top 15,000 on PyPI