Skip to main content

Translate API

Project description

install

pip install trans007

use

from trans007 import GoogleTranslate
trans = GoogleTranslate()
# trans = GoogleTranslate(proxies={'https': '127.0.0.1:7890'})
print(trans.translate("Hello World", 'en', 'zh-CN'))

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

trans007-0.1.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

trans007-0.1.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file trans007-0.1.2.tar.gz.

File metadata

  • Download URL: trans007-0.1.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for trans007-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b4f43b3c9875a80dccca8dd905275c18c66c64e35ef6b539a76a1ce761e0e700
MD5 fea445c507e9487550c3f6a8bbce523f
BLAKE2b-256 11f28c742ca0de28327606f4262b6b1e646e488d9afb234e62e24c4688baf771

See more details on using hashes here.

File details

Details for the file trans007-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: trans007-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for trans007-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0b227047685f5b58df43eac948227dd543c05ceec77b1f5441aa065c0fad719a
MD5 8ba38c00e1764e92ac55aa2354dbffc8
BLAKE2b-256 e7e533a6333c5f5c8ca138d251aab2daaa7a26f070ccef9988b7404afe55b00d

See more details on using hashes here.

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