Skip to main content

Google Cloud Web Risk API client library

Project description

stable pypi versions

Web Risk API: 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 API.

  4. Setup Authentication.

Installation

Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.

With virtualenv, 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](https://devguide.python.org/devcycle/#in-development-main-branch) and [maintenance](https://devguide.python.org/devcycle/#maintenance-branches) versions of Python.

Python >= 3.7

Unsupported Python Versions

Python <= 3.6

If you are using an [end-of-life](https://devguide.python.org/devcycle/#end-of-life-branches) version of Python, we recommend that you update as soon as possible to an actively supported version.

Mac/Linux

pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-cloud-webrisk

Windows

pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe 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.8.1.tar.gz (64.0 kB view details)

Uploaded Source

Built Distribution

google_cloud_webrisk-1.8.1-py2.py3-none-any.whl (78.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: google-cloud-webrisk-1.8.1.tar.gz
  • Upload date:
  • Size: 64.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for google-cloud-webrisk-1.8.1.tar.gz
Algorithm Hash digest
SHA256 69e0ee226113eef1a8a7a0a16fd511d80e91ed320482c6545e3703fb73579320
MD5 e411b9556b6f4ccae803759ca26e6edc
BLAKE2b-256 908926ec6374ba04ad0f4ebff4d373f905646907887c85ea3021fefd8fd2bf1e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for google_cloud_webrisk-1.8.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a0632a123f6be23f9c9d6c8da1e0c3047f3b8b9eb58ca5c7042ec28b845704bc
MD5 bc3a7b92021401ab91cbbe7d4512a39a
BLAKE2b-256 c7228bc0784706e0bcfbebaefcd14da2723fda20319a998926232601d765941a

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