Skip to content

tomschr/leo

Repository files navigation

Translations through leo.org

The leo script expect a word, delegates it to leo.org and present the result.

Requirements

The script needs the following requirements:

Quick Start

To use the program without pip and virtual environment, use the following command after cloning this repository:

$ python3 bin/leo.py

Or copy the script into your bin folder:

$ cp bin/leo.py ~/bin

Workflow

The script does the following steps:

  1. The script expects a word or phrase (in quotes) on the command line.
  2. The word is delegated to the leo.org server
  3. The result from leo.org is parsed
  4. The parsed result is presented