Skip to main content

No project description provided

Project description

Yandex Free Translate! More than six million requests! No limits or restrictions! Tested within a year!

Яндекс Переводчик бесплатно (Более шести миллионов запросов! Никаких ограничений и лимитов! Проверено в течение года!)

Installing (Установка)

python3 -m pip install git+https://github.com/alekssamos/yandexfreetranslate.git

or (или)

python3 -m pip install yandexfreetranslate

Using (Использование)

from yandexfreetranslate import YandexFreeTranslate
yt = YandexFreeTranslate()
# yt.set_proxy("socks5", "localhost", 9050, "username", "password")

print(yt.translate("en", "ru", "Hello, world!"))

Or from command line (Или из командной строки):

# for use socks4, socks5 or https proxy (Для использования socks4, socks5 или https proxy):
export https_proxy=127.0.0.1:9050
# or (или)
export https_proxy=username:password@127.0.0.1:9050

python3 yandexfreetranslate/__init__.py en ru "Hello, world!"
# or (или)
python3 yandexfreetranslate/__init__.py en ru in.txt
# or (или)
python3 yandexfreetranslate/__init__.py en ru in.txt out.txt

Runing tests (Запуск тестов)

git clone https://github.com/alekssamos/yandexfreetranslate.git
cd yandexfreetranslate
python3 -m unittest

# or
python3 -m pip install tox
python3 -m tox

Project details


Download files

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

Files for yandexfreetranslate, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size yandexfreetranslate-1.2-py3-none-any.whl (7.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size yandexfreetranslate-1.2.tar.gz (7.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page