Skip to main content

Google Cloud Devtools Containeranalysis API client library

Project description

stable pypi versions

Container Analysis API: is a service that provides vulnerability scanning and metadata storage for software artifacts. The service performs vulnerability scans on built software artifacts, such as the images in Container Registry, then stores the resulting metadata and makes it available for consumption through an API. The metadata may come from several sources, including vulnerability scanning, other Cloud services, and third-party providers.

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 Container Analysis API.

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

Windows

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

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-containeranalysis-2.12.4.tar.gz (47.0 kB view details)

Uploaded Source

Built Distribution

google_cloud_containeranalysis-2.12.4-py2.py3-none-any.whl (51.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file google-cloud-containeranalysis-2.12.4.tar.gz.

File metadata

File hashes

Hashes for google-cloud-containeranalysis-2.12.4.tar.gz
Algorithm Hash digest
SHA256 193c2d1a6f79a5450c22da98bdc1ba1f0ee70ae0a4a096b90dec22ab919d25bd
MD5 62ccd39b8355134413caaf43bd526cb1
BLAKE2b-256 c3b1f87f98c5ed54c4cfebca834c73f33ba2c03cd39d8bc897c9acd51fdbc24a

See more details on using hashes here.

Provenance

File details

Details for the file google_cloud_containeranalysis-2.12.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for google_cloud_containeranalysis-2.12.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0a28ad0113dd3433cabedf40695819211aff4497d4cd1ad03cf723633e7bc8cc
MD5 1ad59e598e9a6a94124e11c56a44f1a5
BLAKE2b-256 19e61023f311cc0eaf2389824d85b5c6ca11dfb1a77e9eccbb3115d203f9d81e

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