skillfed

google-cloud-webrisk

Google Cloud Webrisk API client library

google-cloud-webrisk v1.22.0 76.2K downloads/30d#14,644 on PyPI5,373
Permissive license Apache-2.0 Active released

What it is and what it does

google-cloud-webrisk is the official Python client for Google Cloud's Web Risk API, a security service that maintains constantly updated lists of unsafe URLs. It wraps the underlying gRPC and REST interfaces to provide a Pythonic way to query whether a given URL is known to be malicious, phishing, or otherwise unsafe.

The library depends on google-api-core, google-auth, grpcio, proto-plus, and protobuf to handle authentication, transport, and protocol buffer serialization. It is designed for production use (Development Status 5) and actively maintained by Google. Setup requires a Google Cloud project with billing enabled and the Web Risk API activated; once configured, the client handles authentication and communicates with Google's service to evaluate URLs in real time.

Use it for:

  • Check user-submitted URLs before allowing them in your application or redirecting to them.
  • Scan links in user-generated content (comments, posts, messages) for malware or phishing threats.
  • Build security dashboards that report on URL safety across your organization's web traffic.
  • Integrate URL validation into email or messaging systems to warn users about unsafe links.
  • Audit historical URL logs to identify which links were flagged as unsafe after the fact.

Worth the install?

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

Python client library for Google Cloud Web Risk, enabling applications to check URLs against Google's lists of unsafe web resources.

Yes. The library is production-stable, actively maintained, has no known vulnerabilities, and low install friction. Install it if you need to validate URLs against Google's threat lists in a Python application and have access to a Google Cloud project with Web Risk enabled.

Install

google-cloud-webrisk on PyPI

pip

pip install google-cloud-webrisk

uv

uv add google-cloud-webrisk

poetry

poetry add google-cloud-webrisk

Installing google-cloud-webrisk

Before you install

Low install friction with a pure-wheel distribution. Active maintenance with recent releases (53 days since last update). Supports current Python versions (3.10 through 3.14).

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

Quickstart

pip install google-cloud-webrisk

from google.cloud import webrisk_v1

client = webrisk_v1.WebRiskServiceClient()
# Check URL against Google's Web Risk lists

Requires Google Cloud project setup, billing enabled, Web Risk API enabled, and authentication credentials configured.

Verify before relying

  • Specific latency or throughput characteristics for URL checking operations.
  • Rate limiting or quota details for the Web Risk API calls.
  • Whether the library caches results or always queries the service.

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

Evidence: google_cloud_webrisk-1.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

url safety checkingweb risk api clientmalware detectionphishing url detectiongoogle cloud securityunsafe url detectionweb threat detection
securitygoogle-cloudurl-validation

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

Python client library for Google Cloud's…

permissive · top 1,000 on PyPI

google-cloud-monitoring-dashboards

Python client library for Google Cloud…

permissive · top 15,000 on PyPI

google-cloud-bigquery-logging

Python client library for Google Cloud BigQuery…

permissive · top 15,000 on PyPI

google-cloud-appengine-logging

Client library for Google Cloud AppEngine…

permissive · top 1,000 on PyPI

google-cloud-recommender

Python client library for Google Cloud…

permissive · top 15,000 on PyPI

google-cloud-error-reporting

Client library for Google Cloud Error Reporting…

permissive · top 5,000 on PyPI

google-cloud-resource-manager

Provides a Python client for Google Cloud…

permissive · top 1,000 on PyPI

google-cloud-api-keys

Manages API keys for Google Cloud projects,…

permissive · top 15,000 on PyPI