An easy to use python translator with multiple api sources
- py_translator: to install ===> pip install py-translator
link: https://pypi.org/project/py-translator/
- other dependencies: bs4, urllib, re, sys
type in shell command the following:
-
text: text to translate
-
to: language to translate to
-
source: original text language
-
output_save_path: th epath to the saved file if file name not passed, then it will create a file name automatically.
-
yandex_key : get a yandex api key from: https://tech.yandex.com/translate/
Add more api sources.