google-cloud-bigquery-reservation
Google Cloud Bigquery Reservation API client library
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-reservationuv
uv add google-cloud-bigquery-reservationpoetry
poetry add google-cloud-bigquery-reservationInstalling 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
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
google-cloud-bigquery-datapoliciesProvides a Python client library for managing…
permissive · top 15,000 on PyPI
google-cloud-bigquery-connectionManages BigQuery connections to external data…
permissive · top 15,000 on PyPI
google-cloud-bigquery-storageProvides a Python client library for reading…
permissive · top 1,000 on PyPI
google-cloud-bigquery-loggingPython client library for Google Cloud BigQuery…
permissive · top 15,000 on PyPI
google-cloud-bigquery-datatransferPython client library for scheduling and…
permissive · top 1,000 on PyPI
google-cloud-bigquery-biglakePython client library for accessing BigLake…
permissive · top 5,000 on PyPI
google-cloud-functionsPython client library for Google Cloud…
permissive · top 5,000 on PyPI
google-cloud-tasksPython client library for Google Cloud Tasks,…
permissive · top 1,000 on PyPI
google-cloud-billingProgrammatic access to Google Cloud Platform…
permissive · top 15,000 on PyPI
excelThis package is a name reservation by Microsoft…
unclear · top 15,000 on PyPI