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.8.0.tar.gz (2.8 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.8.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.8.0.tar.gz.

File metadata

  • Download URL: google-cloud-compute-1.8.0.tar.gz
  • Upload date:
  • Size: 2.8 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.8.0.tar.gz
Algorithm Hash digest
SHA256 a67857918497a61eda219268237b574cd214907e384b6d900c8197525f5c7855
MD5 fb5fc49b985c5025243d736ed6b096c0
BLAKE2b-256 6a966a5460bc15bdd86f7bfef1357bcd2b7aa86ed7a36adc5bc7b4d675d13d14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_cloud_compute-1.8.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d5ff00c41eae338e67744289fa28c28a87142436109b7041b352cdce6f410b60
MD5 be8a12f6b3cd0cccd72a0200f7489c71
BLAKE2b-256 61b379453f175cf9031e0359d9d6cd3b5f26d5e5e8c10d1a9b91495453a2f244

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