Skip to main content

Unofficial client for yandex translator

Project description

Unofficial client to Yandex translator API

Installation

  • Note: it runs on python versions from 2.7 to 3.X:

    python setup.py install To use the default installation

    python2.7 setup.py install For a Python2.7 install

    python3 setup.py install For a Python3 install

Settings

  • To use this package, you need access to the Yandex translation service via an API key.

  • With your API key, create a file and in it set your API key in this format:

    key=<API_KEY>

  • To finish off, set the environment variable YANDEX_TRANSLATOR_KEY,

    that contains the path to this file. Do this in your shell, .bash_profile or .bash_rc file:

    export YANDEX_TRANSLATOR_KEY=path_to_key

Usage

This package provides a cli tool as well as an interactive translator.

  • Cli tool usage:

    ytranslate.py -h

  • Interactive translator:

    ytrans-interactive.py

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

ytrans-0.1.tar.gz (8.0 kB view details)

Uploaded Source

File details

Details for the file ytrans-0.1.tar.gz.

File metadata

  • Download URL: ytrans-0.1.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ytrans-0.1.tar.gz
Algorithm Hash digest
SHA256 1fe3b8838adc284ee1f3fa5c7fd5c35deebe5626e9ebc6b5b0645ba07318e04f
MD5 6e4f6d02fa20b87caf3e35473acf1366
BLAKE2b-256 fd64d83ccfe7276a674e3e27c502903df86e95ba76cd1774ca7bfd7ca5ecb83d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page