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

Uploaded Source

Built Distribution

google_cloud_translate-3.5.0-py2.py3-none-any.whl (109.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: google-cloud-translate-3.5.0.tar.gz
  • Upload date:
  • Size: 104.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for google-cloud-translate-3.5.0.tar.gz
Algorithm Hash digest
SHA256 49c91574e04d52fc7c0fade95dd5e6ccb51190ab8b419352d008a617c7799879
MD5 83de3598a73a0a77bcbb49ec60f8511a
BLAKE2b-256 56e4d10f13d9ab2d59b866239b6f0b56f585aad4eed0990506aa108b01be703f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: google_cloud_translate-3.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 109.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for google_cloud_translate-3.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 652b7a4e986866111c71236b2b9bd2b991d06adc998cf22af2e7837c4d7dc10c
MD5 683b90dea15d6b57bafe174b6e4afc50
BLAKE2b-256 a15ca585d3b1ad5320e5805fafb5f67df71579c300d52ec8e54b7e1ca482dc42

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