skillfed

google-cloud-recommender

Google Cloud Recommender API client library

google-cloud-recommender v2.22.0 85.6K downloads/30d#13,914 on PyPI5,373
Permissive license Apache-2.0 Active released

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-recommender

uv

uv add google-cloud-recommender

poetry

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 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

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

google cloud recommender clientcloud optimization recommendations apigcp recommender pythoncloud resource optimizationgoogle recommender api pythoncloud cost and performance recommendations
gcp-clientcloud-optimization

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-recommendations-ai

Python client library for Google Cloud…

permissive · top 5,000 on PyPI

google-cloud-discoveryengine

Python client library for Google Cloud…

permissive · top 5,000 on PyPI

google-cloud-functions

Python client library for Google Cloud…

permissive · top 5,000 on PyPI

google-cloud-monitoring

Python client library for Google Cloud…

permissive · top 1,000 on PyPI

google-cloud-vectorsearch

Python client library for Google Cloud Vector…

permissive · top 5,000 on PyPI

google-cloud-build

Python client library for Google Cloud Build…

permissive · top 1,000 on PyPI

google-cloud-tasks

Python client library for Google Cloud Tasks,…

permissive · top 1,000 on PyPI

google-cloud-retail

Provides Python bindings to Google Cloud Retail…

permissive · top 15,000 on PyPI

google-cloud-resource-manager

Provides a Python client for Google Cloud…

permissive · top 1,000 on PyPI

google-maps-routeoptimization

Python client library for Google's Route…

permissive · top 15,000 on PyPI