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)

Metadata

Release files for python-translator 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-translator 1.0.3
File Size Uploaded
python-translator-1.0.3.tar.gz 3.3 kB Details

Release files / python-translator-1.0.3.tar.gz

Download URL python-translator-1.0.3.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
339a2a61fd6bde68f80afaac8066acbffbc67a711ee04af4734554001b798007
BLAKE2b-256 checksum
How to use checksums
f8e7b61e7d30fb10638b55330a780f7615e7ed984c880ed394401111efb09ee5
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release 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