Skip to main content

Google Cloud Translation API client library

Project description

GA pypi versions

With Google Cloud Translation, you can dynamically translate text between thousands of language pairs. The Google Cloud Translation API lets websites and programs integrate with Google Cloud Translation programmatically. Google Cloud Translation is available as a paid service. See the Pricing and FAQ pages for details.

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 Google Cloud Translate API.

  4. Setup Authentication.

Installation

Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.

With virtualenv, it’s possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.

Supported Python Versions

Python >= 3.6

Deprecated Python Versions

Python == 2.7. The last version of this library compatible with Python 2.7 is google-cloud-translate==2.0.1.

Mac/Linux

pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-cloud-translate

Windows

pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-translate

Samples

The samples folder contains all of the Cloud Translation API code snippets found in its documentation as well as complete sample apps:

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

Uploaded Source

Built Distribution

google_cloud_translate-3.2.1-py2.py3-none-any.whl (104.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: google-cloud-translate-3.2.1.tar.gz
  • Upload date:
  • Size: 98.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.0

File hashes

Hashes for google-cloud-translate-3.2.1.tar.gz
Algorithm Hash digest
SHA256 e3900958fa00853b6a446eff7dbd5f437adca9ae1ae21c58569fa5e26bc55c76
MD5 0f2a7b393a64e14f7fe6e79fa8a5cd59
BLAKE2b-256 fcae5af1f94d3b017a5eb47bb0bc30f222deb1c4af8b685c1ef2cf23eee6a977

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: google_cloud_translate-3.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 104.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.0

File hashes

Hashes for google_cloud_translate-3.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c69de4304c7d67296d560a022c827d387dd21c266272fd010d84ea93523924f2
MD5 43e22f02215e267ada2d5e92679899d3
BLAKE2b-256 907ca876853ec79344c4b424f30a66b5af3ba2e997ee7edb6bd5bb7237f45e48

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