google-cloud-recommender
Google Cloud Recommender API client library
What it is and what it does
This is the official Python client for Google Cloud Recommender, a managed service that generates optimization recommendations for your cloud infrastructure. The library wraps the Recommender API and provides typed Python interfaces for retrieving, filtering, and acting on recommendations across multiple optimization domains.
You use it to programmatically access recommendations that Google Cloud generates based on your resource usage patterns and best practices. The library handles authentication, API communication via gRPC, and serialization of recommendation data. It requires Python 3.10 or later and depends on google-api-core, google-auth, grpcio, proto-plus, and protobuf for core functionality.
Use it for:
- Retrieve cost optimization recommendations to identify unused resources and reduce cloud spending.
- Fetch security recommendations to identify misconfigurations and compliance gaps in your GCP environment.
- Integrate recommendations into internal dashboards or reporting systems for cloud governance teams.
- Automate remediation workflows by querying recommendations and triggering corrective actions.
- Monitor recommendation trends over time to track infrastructure optimization progress.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client library for Google Cloud Recommender API, enabling programmatic access to cloud optimization recommendations across six value categories.
Yes. This is the official, actively maintained client for Google Cloud Recommender with low install friction, permissive licensing, no known vulnerabilities, and production-stable status. Install it if you need programmatic access to GCP recommendations; skip it if you only use the web console or have no GCP Recommender use case.
Install
google-cloud-recommender on PyPI
pip
pip install google-cloud-recommenderuv
uv add google-cloud-recommenderpoetry
poetry add google-cloud-recommenderInstalling google-cloud-recommender
Before you install
Low friction: pure Python wheel with standard Google Cloud dependencies (google-api-core, google-auth, grpcio, proto-plus, protobuf). Active maintenance with recent release (53 days old) and steady repository activity.
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-recommender
from google.cloud import recommender_v1
client = recommender_v1.RecommenderClient()
# Requires GCP project setup and authentication credentials
Requires Python >= 3.10; GCP project with Recommender API enabled and valid authentication credentials (service account or user credentials).
Verify before relying
- Which specific recommendation categories are included in the 'six value categories' mentioned in the description.
- Whether the library supports streaming recommendations or only batch retrieval.
- Performance characteristics and rate limits for typical workloads.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — google-api-core, google-auth, grpcio, proto-plus, protobuf |
| Maintenance | actively maintained — 53 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 85,579/month — #13,914 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: google_cloud_recommender-2.22.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-recommendations-aiPython client library for Google Cloud…
permissive · top 5,000 on PyPI
google-cloud-discoveryenginePython client library for Google Cloud…
permissive · top 5,000 on PyPI
google-cloud-functionsPython client library for Google Cloud…
permissive · top 5,000 on PyPI
google-cloud-monitoringPython client library for Google Cloud…
permissive · top 1,000 on PyPI
google-cloud-vectorsearchPython client library for Google Cloud Vector…
permissive · top 5,000 on PyPI
google-cloud-buildPython client library for Google Cloud Build…
permissive · top 1,000 on PyPI
google-cloud-tasksPython client library for Google Cloud Tasks,…
permissive · top 1,000 on PyPI
google-cloud-retailProvides Python bindings to Google Cloud Retail…
permissive · top 15,000 on PyPI
google-cloud-resource-managerProvides a Python client for Google Cloud…
permissive · top 1,000 on PyPI
google-maps-routeoptimizationPython client library for Google's Route…
permissive · top 15,000 on PyPI