Skip to main content

Google Cloud Compute API client library

Project description

stable pypi versions

Compute Engine: delivers virtual machines running in Google’s innovative data centers and worldwide fiber network. Compute Engine’s tooling and workflow support enable scaling from single instances to global, load-balanced cloud computing. Compute Engine’s VMs boot quickly, come with persistent disk storage, deliver consistent performance and are available in many configurations.

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 Compute Engine.

  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.

PyCharm/JetBrains IDEs

This library has now grown in size past the JetBrains default size limit of ~2.5Mb. As a result, code completion in JetBrains products can fail to work with the classes from our library. To fix this, you need to update the idea.max.intellisense.filesize setting in custom properties (Help -> Edit custom properties…). Just add the line idea.max.intellisense.filesize = 10000 to change this limit to ~10Mb.

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

Windows

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

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_compute-1.19.2.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

google_cloud_compute-1.19.2-py2.py3-none-any.whl (2.7 MB view details)

Uploaded Python 2Python 3

File details

Details for the file google_cloud_compute-1.19.2.tar.gz.

File metadata

  • Download URL: google_cloud_compute-1.19.2.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for google_cloud_compute-1.19.2.tar.gz
Algorithm Hash digest
SHA256 3fce82abe14e76faaa81234d9a7be1e634b2ed8a27f55feefcf2b146467f7fab
MD5 532c076cbe373636c1e3792786740039
BLAKE2b-256 626d17551113240c058013b6702e45fc721622966d0e1f19129aa07affb2e36e

See more details on using hashes here.

File details

Details for the file google_cloud_compute-1.19.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for google_cloud_compute-1.19.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e15b03da54fef17be18a20ebd8716e12aa5e17379e63042d15e8b6a3a4f08597
MD5 b91611b3e048055e090494f2b453d25c
BLAKE2b-256 439832f16c805675b5b7df5c7e862d4d55f607f1fcb95572aea8a195b4afd428

See more details on using hashes here.

Supported by

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