Skip to main content

Unoficial client for yandex translator

Project description

Unofficial python client to Yandex translator API.

Javascript client written by Emmanuel Odeke for node.js you can find here.

Installation

  • Note: it runs on python versions >= 2.7:

    pip install ytrans

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


Release history Release notifications

This version
History Node

0.1.1

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
ytrans-0.1.1.tar.gz (8.2 kB) Copy SHA256 hash SHA256 Source None Oct 14, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page