Translate text from one language to another.
Project description
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)
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
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 339a2a61fd6bde68f80afaac8066acbffbc67a711ee04af4734554001b798007 |
|
MD5 | e4f06a9d5c157d189dc42a1ee31e6828 |
|
BLAKE2b-256 | f8e7b61e7d30fb10638b55330a780f7615e7ed984c880ed394401111efb09ee5 |