A wrapper for translate.Yandex.com
Wrapper by Divirad(c)
Requirements for the use of translation results
How to use it?
First you have to get an Api-Key from this Site
install it with
pipenv install pythontranslate
Keep in mind that it's not safe to upload your API-Key publicly on Github. We recommend you to save it in an private.py file to import it localy into your project.
# DONT UPLOAD TO GITHUB APIKEY = "<your key here>"
After that create an object in your file you want to translate something.
from pythontranslate import * from private import APIKEY translator = Translator(APIKEY)