项目作者: KevCui

项目描述 :
📙 LEO Dictionary in CLI
高级语言: Python
项目地址: git://github.com/KevCui/LeoDis.git
创建时间: 2016-11-27T18:35:51Z
项目社区:https://github.com/KevCui/LeoDis

开源协议:Do What The F*ck You Want To Public License

下载



Title: LeoDis
Description: A CLI version LEO Dictionary
Author: KrazyCavin
Tags: CLI, python, script

created: 27 Nov 2016

LeoDis

LEO (meaning Link Everything Online) is an online dictionary. It supports 8 different language translations to German. This script is a wrapper to fetch search results from LEO and then show them in CLI. (yep, I know wrapper is not proper… If there is an API support, it’ll be really awesome :neckbeard:)

Support dictionary

  • :gb: Englisch ⇔ Deutsch
  • :fr: Französisch ⇔ Deutsch
  • :es: Spanisch ⇔ Deutsch
  • :it: Italienisch ⇔ Deutsch
  • :cn: Chinesisch ⇔ Deutsch
  • :ru: Russisch ⇔ Deutsch
  • Portugiesisch ⇔ Deutsch
  • Polnisch ⇔ Deutsch

Requirement

Installation

  • pip install -r requirements.txt

How to use

  1. usage: leo [-h] [-l {en,fr,es,it,ch,ru,pt,pl}] [search [search ...]]
  2. positional arguments:
  3. search search text
  4. optional arguments:
  5. -h, --help show this help message and exit
  6. -l {en,fr,es,it,ch,ru,pt,pl}, --lang {en,fr,es,it,ch,ru,pt,pl}
  7. languare