Skip to main content

Google Cloud Webrisk API client library

Project description

stable pypi versions

Web Risk: is a Google Cloud service that lets client applications check URLs against Google’s constantly updated lists of unsafe web resources. Unsafe web resources include social engineering sites—such as phishing and deceptive sites—and sites that host malware or unwanted software. With the Web Risk API, you can quickly identify known bad sites, warn users before they click infected links, and prevent users from posting links to known infected pages from your site. The Web Risk API includes data on more than a million unsafe URLs and stays up to date by examining billions of URLs each day.

Quick Start

In order to use this library, you first need to go through the following steps:

  1. Select or create a Cloud Platform project.

  2. Enable billing for your project.

  3. Enable the Web Risk.

  4. Setup Authentication.

Installation

Install this library in a virtual environment using venv. venv is a tool that creates isolated Python environments. These isolated environments can have separate versions of Python packages, which allows you to isolate one project’s dependencies from the dependencies of other projects.

With venv, it’s possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.

Code samples and snippets

Code samples and snippets live in the samples/ folder.

Supported Python Versions

Our client libraries are compatible with all current active and maintenance versions of Python.

Python >= 3.7

Unsupported Python Versions

Python <= 3.6

If you are using an end-of-life version of Python, we recommend that you update as soon as possible to an actively supported version.

Mac/Linux

python3 -m venv <your-env>
source <your-env>/bin/activate
pip install google-cloud-webrisk

Windows

py -m venv <your-env>
.\<your-env>\Scripts\activate
pip install google-cloud-webrisk

Next Steps

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google-cloud-webrisk-1.14.3.tar.gz (98.1 kB view details)

Uploaded Source

Built Distribution

google_cloud_webrisk-1.14.3-py2.py3-none-any.whl (96.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file google-cloud-webrisk-1.14.3.tar.gz.

File metadata

  • Download URL: google-cloud-webrisk-1.14.3.tar.gz
  • Upload date:
  • Size: 98.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for google-cloud-webrisk-1.14.3.tar.gz
Algorithm Hash digest
SHA256 56b7c8572dea18431f154889dbbcd93e305a5883d95ffaab6a06bff857c9a25e
MD5 8fe5d004dc7beb7077ef0450719a7ee9
BLAKE2b-256 9dd38efe2757510a5a870e187e8563fff82f5606152c7cd582a4a3867f1a0433

See more details on using hashes here.

Provenance

File details

Details for the file google_cloud_webrisk-1.14.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for google_cloud_webrisk-1.14.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 418867546797e6593b2284cca6be391b8221fa987d72b5640c3af0b8930e2363
MD5 39c27c17fbc1a65c77b3e1419e57522a
BLAKE2b-256 ce8ca295d8ea98a7f7c1142b5d5c19e475fd52daf18a303e2125cb2043b5ed2b

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page