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

Uploaded Source

Built Distribution

google_cloud_translate-3.12.1-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.1.tar.gz.

File metadata

File hashes

Hashes for google-cloud-translate-3.12.1.tar.gz
Algorithm Hash digest
SHA256 661cb8879aa3c63a2f725a3ea68f90199bd354c95ca169cc2e83a5105987d29e
MD5 ef297f1807075e3612d03508eb59fbc3
BLAKE2b-256 4e97c8f10c09d1741ab37a5165194787eff5c2fa906acf35eb0ea57624b1c2c8

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for google_cloud_translate-3.12.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2a0f6aa398a64d7836d0f2880dfd023be0de05f8b688ac537825391014fc114a
MD5 17899260edcba89a57ab446fb2962058
BLAKE2b-256 268fa43a7f1bc962ce08e3de04a46581bba98ede226b3a9c07f142614c095761

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