Skip to main content

Google Cloud Compute API client library

Project description

stable pypi versions

Compute Engine API: Create and runs virtual machines on Google Cloud Platform.

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

Mac/Linux

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

Windows

pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-compute

PyCharm/JetBrains IDEs

Since the library has grown in size, the files it consists of have outgrown the [default size limit of ~2.5Mb](https://www.jetbrains.com/help/pycharm/file-idea-properties.html). As a result, the 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 a line like idea.max.intellisense.filesize = 10000 to change this limit to ~10Mb.

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.7.0.tar.gz (2.7 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.7.0-py2.py3-none-any.whl (2.1 MB view details)

Uploaded Python 2Python 3

File details

Details for the file google-cloud-compute-1.7.0.tar.gz.

File metadata

  • Download URL: google-cloud-compute-1.7.0.tar.gz
  • Upload date:
  • Size: 2.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for google-cloud-compute-1.7.0.tar.gz
Algorithm Hash digest
SHA256 5fc19368091a80671aff389ec75d614e09f2749c9f27835c682a52c75edfc5eb
MD5 927528b0218f98ccc7a6f49c7f0a8b0a
BLAKE2b-256 359768d662a8ffc8a87886477dd45a827d0f4bbdf0d0618473a6b50efcd58a44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_cloud_compute-1.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 613b01bda0103beb9ece4c4cd8971900d13285cab3e42058fc338d6cc0cd8c36
MD5 c7c924637c422e21e81611f559d0521a
BLAKE2b-256 5426535bac7b12654b09303830e1f8edd230a6d4fa97d1b041db55b61a16ba60

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