Skip to main content

python-translator

A python library to translate text from one language to another.

Why use this?

It uses the Google API, showing the best results. And unlike other repos, does not require an API key to operate.

Install

$ pip install python-translator

Example

from python_translator import Translator

translator = Translator()
result = translator.translate("Hello world!", "spanish", "english")

print(result)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-translator-1.0.3.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file python-translator-1.0.3.tar.gz.

File metadata

  • Download URL: python-translator-1.0.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 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 python-translator-1.0.3.tar.gz
Algorithm Hash digest
SHA256 339a2a61fd6bde68f80afaac8066acbffbc67a711ee04af4734554001b798007
MD5 e4f06a9d5c157d189dc42a1ee31e6828
BLAKE2b-256 f8e7b61e7d30fb10638b55330a780f7615e7ed984c880ed394401111efb09ee5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 file

1.0.2

1 file

1.0.1

1 file

1.0.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page