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

Uploaded Source

Built Distribution

google_cloud_translate-3.7.2-py2.py3-none-any.whl (116.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: google-cloud-translate-3.7.2.tar.gz
  • Upload date:
  • Size: 112.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for google-cloud-translate-3.7.2.tar.gz
Algorithm Hash digest
SHA256 89c646df71bf9e88a2f55d2bb074c6fd07bc70a0d50df01244acb65d160ce588
MD5 bf1a4e63ba1a77cfdf59eb806cbdccf2
BLAKE2b-256 711802035116474be7686d6ac02f0431900ff583f6d69a51e921ae517d8e6767

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: google_cloud_translate-3.7.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 116.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for google_cloud_translate-3.7.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e7cefdef56daaabc8465b53891105e003252517693085bdff9f480e1913f8e24
MD5 bc3552f48c4107a1a4c39d9f458d3fbf
BLAKE2b-256 ad3ac176654f2aeaba4814a604f7643c4e4b5dffff14ba65ac545963d8fc4994

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