https://github.com/kevcui/leodis
π LEO Dictionary in CLI
https://github.com/kevcui/leodis
dictionary leo-dictionary python python3 script
Last synced: about 2 months ago
JSON representation
π LEO Dictionary in CLI
- Host: GitHub
- URL: https://github.com/kevcui/leodis
- Owner: KevCui
- License: wtfpl
- Created: 2016-11-27T18:35:51.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-03T19:50:50.000Z (over 7 years ago)
- Last Synced: 2025-03-26T17:40:23.140Z (7 months ago)
- Topics: dictionary, leo-dictionary, python, python3, script
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
---
Title: LeoDis
Description: A CLI version LEO Dictionary
Author: KrazyCavin
Tags: CLI, python, script
created: 27 Nov 2016
---LeoDis
======
[LEO](https://dict.leo.org/) (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
* beautifulsoup4: [https://www.crummy.com/software/BeautifulSoup/bs4/doc/](https://www.cruoftware/BeautifulSoup/bs4/doc/)
* texttable: [https://github.com/foutaise/texttable/](https://github.com/foutaise/texttable/)
* requests: [http://docs.python-requests.org/en/master/](http://docs.python-requests.org/en/master/)### Installation
* pip install -r requirements.txt### How to use
```
usage: leo [-h] [-l {en,fr,es,it,ch,ru,pt,pl}] [search [search ...]]positional arguments:
search search textoptional arguments:
-h, --help show this help message and exit
-l {en,fr,es,it,ch,ru,pt,pl}, --lang {en,fr,es,it,ch,ru,pt,pl}
languare
```