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 (Использование)
Если не работает, то при создании класса поменяйте API на "ios", по умолчанию используется "web". If it doesn't work, then when creating the class, change the API to "ios", use "web" by default.
from yandexfreetranslate import YandexFreeTranslate
yt = YandexFreeTranslate()
# yt = YandexFreeTranslate(api = "web")
# yt = YandexFreeTranslate(api = "ios")
# 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
Metadata
Release files for yandexfreetranslate 1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| yandexfreetranslate-1.5.tar.gz | 7.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yandexfreetranslate-1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.7 kB
Release files / yandexfreetranslate-1.5.tar.gz
| Download URL | yandexfreetranslate-1.5.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
415652bca19707f5c665d5f55a7f902954ccb0596ac2abed8b0c464e06ae48e9
|
|
BLAKE2b-256 checksum How to use checksums |
9c4e288b3fb941292d26caa7d2c8937b4a41eebfaf126441da856585c348e7b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / yandexfreetranslate-1.5-py3-none-any.whl
| Download URL | yandexfreetranslate-1.5-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
784d1155b7845cc2f6158166aba257224a99831b23d180a9b0b0388a9de9cc38
|
|
BLAKE2b-256 checksum How to use checksums |
6a7b34cc362a2a976815dd09a29ccf6655d6db4e4142be738a2b2d759ab746b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Security for yandexfreetranslate 1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.