Skip to main content

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

Release files for ytrans 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ytrans 0.1.1
File Size Uploaded
ytrans-0.1.1.tar.gz 8.2 kB Details

Release files / ytrans-0.1.1.tar.gz

Download URL ytrans-0.1.1.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
923bd844b36e44981ff3547d1ae1bcf8942672b178b895d1aff031ef08250887
BLAKE2b-256 checksum
How to use checksums
8de059c74194b2bf8df6b52fd310279b84e077c3ced843f6b6e2be921cfdc5a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page