Skip to main content

Google Cloud Optimization API client library

Project description

stable pypi versions

Cloud Optimization: is a managed routing service that takes your list of orders, vehicles, constraints, and objectives and returns the most efficient plan for your entire fleet in near real-time.

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

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

Windows

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

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-optimization-1.6.0.tar.gz (74.8 kB view details)

Uploaded Source

Built Distribution

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

google_cloud_optimization-1.6.0-py2.py3-none-any.whl (84.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file google-cloud-optimization-1.6.0.tar.gz.

File metadata

File hashes

Hashes for google-cloud-optimization-1.6.0.tar.gz
Algorithm Hash digest
SHA256 2d13168d8297b9bf6c4a983cf4493e807de3af2cdb27df4b3c86e1a2a36c609a
MD5 63524d8de7096d7e5cf605634db5c4ec
BLAKE2b-256 c03cf4eff7c46b8b5f4e3820ee53b8234cc6d315a0fd1b849f014c61dff6b0c2

See more details on using hashes here.

File details

Details for the file google_cloud_optimization-1.6.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for google_cloud_optimization-1.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 355b765496268b3efe35c483d3882475ff18cfa04991ad84199056c8e796c193
MD5 bd40422075b0d028a056a2f6832425d7
BLAKE2b-256 f6005408903f737215f5e33294ac1963671fe11741c47fc74271e790f118480b

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