Skip to main content

Google Cloud Translate API client library

Project description

stable pypi versions

Cloud Translation API: can dynamically translate text between thousands of language pairs. Translation lets websites and programs programmatically integrate with the translation service.

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 Translation 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-translate

Windows

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

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-translate-3.12.0.tar.gz (136.9 kB view details)

Uploaded Source

Built Distribution

google_cloud_translate-3.12.0-py2.py3-none-any.whl (128.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file google-cloud-translate-3.12.0.tar.gz.

File metadata

File hashes

Hashes for google-cloud-translate-3.12.0.tar.gz
Algorithm Hash digest
SHA256 97423c1c3bf614102f1d4278175a03c523e5b4acd648b00a3407d02302aaccd9
MD5 b6e4b96abc242959a4c4dce4e97173d9
BLAKE2b-256 8caf2278a3fec71b30745d1ecd79195e0fed8c624bceed32ba2b07c31bbf9746

See more details on using hashes here.

Provenance

File details

Details for the file google_cloud_translate-3.12.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for google_cloud_translate-3.12.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 351405a07a122280d8ae5d52797a48dcfae769e29c5ebdea2a5dedacb48d41ff
MD5 6404ac448a50829a4ef1f8818a515438
BLAKE2b-256 848fda05f953868e4f5cfe056da26db0e7917e86227de4821c378d199211c81f

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