Skip to main content

Google Cloud Tpu API client library

Project description

stable pypi versions

Cloud TPU: Cloud Tensor Processing Units (TPUs) are Google’s custom-developed application-specific integrated circuits (ASICs) used to accelerate machine learning workloads.

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

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

Windows

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

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-tpu-1.12.0.tar.gz (167.6 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_tpu-1.12.0-py2.py3-none-any.whl (150.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file google-cloud-tpu-1.12.0.tar.gz.

File metadata

  • Download URL: google-cloud-tpu-1.12.0.tar.gz
  • Upload date:
  • Size: 167.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for google-cloud-tpu-1.12.0.tar.gz
Algorithm Hash digest
SHA256 d569c5992e932570586c65a289083814a905d8ce281c435684a93c1362b17737
MD5 182d89fe3127d1762f80b97b186b32d6
BLAKE2b-256 e647d90fc0c087db290f9f1365c2a89f25feefb5b5fff13ba7cc818b887c1c4c

See more details on using hashes here.

File details

Details for the file google_cloud_tpu-1.12.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for google_cloud_tpu-1.12.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f0da45670d6f6c369991e992fe97652e91add31c41da1950303ca66f8e01172d
MD5 ebaba7ecbb4eac063d53c86e60320658
BLAKE2b-256 a43608ec10d4491b15d5df2ccc5a247e9a723e15fa11be999af56aa2256f7d57

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