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.12.2.tar.gz (87.4 kB view details)

Uploaded Source

Built Distribution

google_cloud_webrisk-1.12.2-py2.py3-none-any.whl (93.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for google-cloud-webrisk-1.12.2.tar.gz
Algorithm Hash digest
SHA256 2a6f6e47db36f720b77aa742ec9896d8dfefd8902d45a59f519ea944faaa0ac8
MD5 611c509d838c80cf70af938e8bb6f250
BLAKE2b-256 2ca588389327d04c58b972dd6445e4a5f37f0576f006ab0a66fecf8438a2fb84

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for google_cloud_webrisk-1.12.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 57386bb345f03dd92d48e6ad08a4ddc030bfd001cb2869e8c87e330e6fb5cb35
MD5 16fcbc5aaaa2c55bdd38d95b9a85df48
BLAKE2b-256 aa7a038e70b2ceca49d9c03d09a9665f7469fe962e38cff2a6062844613e33a2

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