Skip to main content

Youdao Python

Project description

youdao dictionary implemented in python

Install

pip

sudo pip install youdao_simple

python setup.py

$ git clone https://github.com/MintCN/youdao-python
$ cd youdao-python
$ sudo python setup.py install

Usage

$ youdao
No word to translate
$ youdao hello
<----------------------------------------------->
查询单词: hello
有道翻译:你好

有道词典-基本词典:
发音 [ həˈləʊ ]
英式发音 [ həˈləʊ ]      美式发音 [ helˈō ]
n. 表示问候, 惊奇或唤起注意时的用语
int. 喂;哈罗
n. (Hello)人名;()埃洛

有道词典-网络释义:
Hello  :  你好 您好 hello
Hello Kitty  :  凯蒂猫 昵称 匿称
Hello Bebe  :  哈乐哈乐 乐扣乐扣
<----------------------------------------------->
$ youdao hello world
<----------------------------------------------->
查询单词: hello
有道翻译:你好

有道词典-基本词典:
发音 [ həˈləʊ ]
英式发音 [ həˈləʊ ]      美式发音 [ helˈō ]
n. 表示问候, 惊奇或唤起注意时的用语
int. 喂;哈罗
n. (Hello)人名;()埃洛

有道词典-网络释义:
Hello  :  你好 您好 hello
Hello Kitty  :  凯蒂猫 昵称 匿称
Hello Bebe  :  哈乐哈乐 乐扣乐扣
<----------------------------------------------->
<----------------------------------------------->
查询单词: world
有道翻译:世界

有道词典-基本词典:
发音 [ wɜːld ]
英式发音 [ wɜːld ]       美式发音 [ wɝld ]
n. 世界;领域;世俗;全人类;物质生活

有道词典-网络释义:
World  :  世界 世界 天下
My World  :  我的小小世界 我的世界 自一方
World Record  :  世界纪录 世界纪录 世界之最
<----------------------------------------------->

Uninstall

pip

sudo pip uninstall youdao_simple

python setup.py

$ sudo python setup.py install --record=/tmp/filelist
# this file will record all the

$ cat /tmp/filelist | sudo xargs rm -rf

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

youdao_simple-1.1.0-py2.py3-none-any.whl (5.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file youdao_simple-1.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for youdao_simple-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b6751381df480e866ba168f084642176726213107447af32b84d98557dbc5503
MD5 de17ef8e78a126077782760f794b7c1c
BLAKE2b-256 59de748b6ae4baec69d4e7eb76295cfc5a9018e6a80204b15f9aeaad24b4582b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page