Python Client for Compute Engine
================================
|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.
- `Client Library Documentation`_
- `Product Documentation`_
.. |stable| image:: https://img.shields.io/badge/support-stable-gold.svg
:target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#stability-levels
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-compute.svg
:target: https://pypi.org/project/google-cloud-compute/
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-compute.svg
:target: https://pypi.org/project/google-cloud-compute/
.. _Compute Engine: https://cloud.google.com/compute/
.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/compute/latest/summary_overview
.. _Product Documentation: https://cloud.google.com/compute/
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.`_
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
.. _Enable the Compute Engine.: https://cloud.google.com/compute/
.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
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.
.. _`venv`: https://docs.python.org/3/library/venv.html
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.
.. _JetBrains default size limit of ~2.5Mb: https://www.jetbrains.com/help/pycharm/file-idea-properties.html
Code samples and snippets
~~~~~~~~~~~~~~~~~~~~~~~~~
Code samples and snippets live in the `samples/`_ folder.
.. _samples/: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-compute/samples
Supported Python Versions
^^^^^^^^^^^^^^^^^^^^^^^^^
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
Python.
Python >= 3.7
.. _active: https://devguide.python.org/devcycle/#in-development-main-branch
.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
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.
.. _end-of-life: https://devguide.python.org/devcycle/#end-of-life-branches
Mac/Linux
^^^^^^^^^
.. code-block:: console
python3 -m venv <your-env>
source <your-env>/bin/activate
pip install google-cloud-compute
Windows
^^^^^^^
.. code-block:: console
py -m venv <your-env>
.\<your-env>\Scripts\activate
pip install google-cloud-compute
Next Steps
~~~~~~~~~~
- Read the `Client Library Documentation`_ for Compute Engine
to see other available methods on the client.
- Read the `Compute Engine Product documentation`_ to learn
more about the product and see How-to Guides.
- View this `README`_ to see the full list of Cloud
APIs that we cover.
.. _Compute Engine Product documentation: https://cloud.google.com/compute/
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
Raw data
{
"_id": null,
"home_page": "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-compute",
"name": "google-cloud-compute",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": null,
"author": "Google LLC",
"author_email": "googleapis-packages@google.com",
"download_url": "https://files.pythonhosted.org/packages/41/a3/e81bb3075264327170458033af64a48ca1e29f14840b97d737088c196880/google_cloud_compute-1.20.0.tar.gz",
"platform": "Posix; MacOS X; Windows",
"description": "Python Client for Compute Engine\n================================\n\n|stable| |pypi| |versions|\n\n`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.\n\n- `Client Library Documentation`_\n- `Product Documentation`_\n\n.. |stable| image:: https://img.shields.io/badge/support-stable-gold.svg\n :target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#stability-levels\n.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-compute.svg\n :target: https://pypi.org/project/google-cloud-compute/\n.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-compute.svg\n :target: https://pypi.org/project/google-cloud-compute/\n.. _Compute Engine: https://cloud.google.com/compute/\n.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/compute/latest/summary_overview\n.. _Product Documentation: https://cloud.google.com/compute/\n\nQuick Start\n-----------\n\nIn order to use this library, you first need to go through the following steps:\n\n1. `Select or create a Cloud Platform project.`_\n2. `Enable billing for your project.`_\n3. `Enable the Compute Engine.`_\n4. `Setup Authentication.`_\n\n.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project\n.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project\n.. _Enable the Compute Engine.: https://cloud.google.com/compute/\n.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html\n\nInstallation\n~~~~~~~~~~~~\n\nInstall this library in a virtual environment using `venv`_. `venv`_ is a tool that\ncreates isolated Python environments. These isolated environments can have separate\nversions of Python packages, which allows you to isolate one project's dependencies\nfrom the dependencies of other projects.\n\nWith `venv`_, it's possible to install this library without needing system\ninstall permissions, and without clashing with the installed system\ndependencies.\n\n.. _`venv`: https://docs.python.org/3/library/venv.html\n\nPyCharm/JetBrains IDEs\n~~~~~~~~~~~~~~~~~~~~~~\nThis library has now grown in size past the `JetBrains default size limit of ~2.5Mb`_.\nAs a result, code completion in JetBrains products can fail to work with the classes from our library. To\nfix this, you need to update the ``idea.max.intellisense.filesize`` setting in custom properties\n(Help -> Edit custom properties...). Just add the line ``idea.max.intellisense.filesize = 10000`` to change this\nlimit to ~10Mb.\n\n.. _JetBrains default size limit of ~2.5Mb: https://www.jetbrains.com/help/pycharm/file-idea-properties.html\n\nCode samples and snippets\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nCode samples and snippets live in the `samples/`_ folder.\n\n.. _samples/: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-compute/samples\n\n\nSupported Python Versions\n^^^^^^^^^^^^^^^^^^^^^^^^^\nOur client libraries are compatible with all current `active`_ and `maintenance`_ versions of\nPython.\n\nPython >= 3.7\n\n.. _active: https://devguide.python.org/devcycle/#in-development-main-branch\n.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches\n\nUnsupported Python Versions\n^^^^^^^^^^^^^^^^^^^^^^^^^^^\nPython <= 3.6\n\nIf you are using an `end-of-life`_\nversion of Python, we recommend that you update as soon as possible to an actively supported version.\n\n.. _end-of-life: https://devguide.python.org/devcycle/#end-of-life-branches\n\nMac/Linux\n^^^^^^^^^\n\n.. code-block:: console\n\n python3 -m venv <your-env>\n source <your-env>/bin/activate\n pip install google-cloud-compute\n\n\nWindows\n^^^^^^^\n\n.. code-block:: console\n\n py -m venv <your-env>\n .\\<your-env>\\Scripts\\activate\n pip install google-cloud-compute\n\nNext Steps\n~~~~~~~~~~\n\n- Read the `Client Library Documentation`_ for Compute Engine\n to see other available methods on the client.\n- Read the `Compute Engine Product documentation`_ to learn\n more about the product and see How-to Guides.\n- View this `README`_ to see the full list of Cloud\n APIs that we cover.\n\n.. _Compute Engine Product documentation: https://cloud.google.com/compute/\n.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Google Cloud Compute API client library",
"version": "1.20.0",
"project_urls": {
"Homepage": "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-compute"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "65b980296763c9a022b7f08bd7e52860ce27fb54722168eb9a3c48f4386fd8bc",
"md5": "2d2532c946b2ec22be4522057c94c59f",
"sha256": "cb733475412e9c9dea65254163b2c0788824fe584c5d38da556edce462bdd742"
},
"downloads": -1,
"filename": "google_cloud_compute-1.20.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "2d2532c946b2ec22be4522057c94c59f",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.7",
"size": 2939145,
"upload_time": "2024-10-25T02:41:44",
"upload_time_iso_8601": "2024-10-25T02:41:44.932638Z",
"url": "https://files.pythonhosted.org/packages/65/b9/80296763c9a022b7f08bd7e52860ce27fb54722168eb9a3c48f4386fd8bc/google_cloud_compute-1.20.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "41a3e81bb3075264327170458033af64a48ca1e29f14840b97d737088c196880",
"md5": "5cef7161bbeeaa053962cd130dbf678c",
"sha256": "ab7db162a2c2595fada492a0067015dc30e3582c4f14e4ed6cc7433721c8729d"
},
"downloads": -1,
"filename": "google_cloud_compute-1.20.0.tar.gz",
"has_sig": false,
"md5_digest": "5cef7161bbeeaa053962cd130dbf678c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 3894333,
"upload_time": "2024-10-25T02:41:46",
"upload_time_iso_8601": "2024-10-25T02:41:46.684552Z",
"url": "https://files.pythonhosted.org/packages/41/a3/e81bb3075264327170458033af64a48ca1e29f14840b97d737088c196880/google_cloud_compute-1.20.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-25 02:41:46",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "googleapis",
"github_project": "google-cloud-python",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "google-cloud-compute"
}