Skip to main content

Google Cloud Optimization API client library

Project description

stable pypi versions

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

  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.5.0.tar.gz (74.3 kB view details)

Uploaded Source

Built Distribution

google_cloud_optimization-1.5.0-py2.py3-none-any.whl (84.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for google-cloud-optimization-1.5.0.tar.gz
Algorithm Hash digest
SHA256 f1d6ed5b43fbf32fc18afdd863b9d1295f999e4c41cb5a4b89d9a62395664132
MD5 7f8ea09ca99960cb782f386aa9d5b143
BLAKE2b-256 3735dda73131635826a7e56b6a90960024f9fe7433eb643d495e406125ab89d7

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for google_cloud_optimization-1.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 748170af27d00aa7e66f52b580bbfee1c6334d97cdb3e5936aaf6f4c4c3ca356
MD5 cbc825808354931245419dc88e518df1
BLAKE2b-256 b02bfcf0c2f6b6bf3139f90b7c404e28ef09a293d5bebb310ac19ff34f8fb3fc

See more details on using hashes here.

Provenance

Supported by

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