skillfed

google-cloud-recommendations-ai

Google Cloud Recommendations Ai API client library

google-cloud-recommendations-ai v0.13.1 2.5M downloads/30d#3,052 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 Recommendations AI, a managed service that builds personalized recommendation systems without requiring deep expertise in machine learning or recommendation algorithms. The library provides typed Python bindings to the Recommendations AI API, handling authentication, serialization, and RPC communication through standard Google Cloud infrastructure (google-api-core, google-auth, grpcio, proto-plus, protobuf).

You use it to connect your application to Google's hosted recommendation engine—creating recommendation models, logging user events, and retrieving personalized recommendations. The library is in Beta status and actively maintained, supporting Python 3.10 through 3.14. It includes built-in logging support for debugging and monitoring, configurable via environment variables or standard Python logging mechanisms.

Use it for:

  • Integrate personalized product recommendations into an e-commerce platform without building a recommendation engine from scratch.
  • Log user behavior events (views, clicks, purchases) to a Google Cloud Recommendations AI model for continuous learning.
  • Retrieve ranked recommendation lists for a user in real time to display on a web or mobile application.
  • Build a recommendation system for content discovery (articles, videos, courses) without ML expertise.
  • Monitor and debug recommendation API calls using structured logging to Google Cloud Logging.

Worth the install?

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

Python client library for Google Cloud Recommendations AI, enabling integration with Google's managed recommendation service to build personalized recommendation systems.

Yes, if you are already committed to Google Cloud and need a managed recommendation service. The library is actively maintained, has low install friction, and integrates cleanly with Google Cloud authentication and logging. No security vulnerabilities are known. The Apache-2.0 license is permissive. The main constraint is the requirement for Python >= 3.10 and a configured Google Cloud project with billing and API access enabled.

Install

google-cloud-recommendations-ai on PyPI

pip

pip install google-cloud-recommendations-ai

uv

uv add google-cloud-recommendations-ai

poetry

poetry add google-cloud-recommendations-ai

Installing google-cloud-recommendations-ai

Before you install

Low install friction with a pure-wheel distribution. Actively maintained with recent releases; last commit 2026-08-14. Requires Python >= 3.10 and depends on standard Google Cloud libraries (google-api-core, google-auth, grpcio, proto-plus, protobuf).

License in practice

Licensed under Apache-2.0 (permissive). You can use, modify, and distribute this library freely in commercial and private projects, provided you include a copy of the license and notice of modifications.

Quickstart

pip install google-cloud-recommendations-ai

from google.cloud import recommendationengine_v1beta1

client = recommendationengine_v1beta1.PredictionServiceClient()

Requires Python >= 3.10. You must set up a Google Cloud project, enable billing, enable the Recommendations AI service, and configure authentication (service account key or Application Default Credentials).

Verify before relying

  • Whether the library supports all current Recommendations AI API versions or if there are deprecated endpoints.
  • Performance characteristics and rate limits when handling large-scale recommendation requests.
  • Whether code samples in the samples/ folder are actively maintained and reflect current API best practices.

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 2,467,871/month — #3,052 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: google_cloud_recommendations_ai-0.13.1-py3-none-any.whl

Development Status :: 4 - BetaIntended 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 recommendations ai clientpersonalized recommendations apigoogle recommendations engine pythonrecommendation system google cloudbuild recommendation modelsgoogle cloud python client library
google-cloudrecommendation-enginemanaged-service

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

Python client library for Google Cloud…

permissive · top 15,000 on PyPI

google-cloud-retail

Provides Python bindings to Google Cloud Retail…

permissive · top 15,000 on PyPI

google-cloud-vectorsearch

Python client library for Google Cloud Vector…

permissive · top 5,000 on PyPI

google-cloud-discoveryengine

Python client library for Google Cloud…

permissive · top 5,000 on PyPI

google-cloud-build

Python client library for Google Cloud Build…

permissive · top 1,000 on PyPI

google-cloud-monitoring

Python client library for Google Cloud…

permissive · top 1,000 on PyPI

google-cloud-workflows

Python client library for Google Cloud…

permissive · top 1,000 on PyPI

google-cloud-tasks

Python client library for Google Cloud Tasks,…

permissive · top 1,000 on PyPI

google-cloud-modelarmor

Provides a Python client for Google Cloud Model…

permissive · top 5,000 on PyPI

google-cloud-automl

Python client library for Google Cloud AutoML,…

permissive · top 1,000 on PyPI