--- id: google-cloud-recommender version: "2.22.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # google-cloud-recommender — Google Cloud Recommender API client library License: permissive · Maintenance: active · Downloads: 85.6K/mo ## 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 above — 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 pip install google-cloud-recommender uv add google-cloud-recommender poetry add google-cloud-recommender ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 85.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags google cloud recommender client, cloud optimization recommendations api, gcp recommender python, cloud resource optimization, google recommender api python, cloud cost and performance recommendations, gcp-client, cloud-optimization [View on SkillFed](https://skillfed.io/packages/google-cloud-recommender) · [View on PyPI](https://pypi.org/project/google-cloud-recommender/)