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 hashes)

Uploaded Python 2 Python 3

Supported by

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