Skip to main content
# Dict-tiny

Dict-tiny is a tiny command-line utility to look up English words or Chinese words from youdao.com. Just for fun :)

You can use `dict-tiny` in this way:

#####Translate an English word or Chinese word

```shell
$ dict-tiny book
n. 书籍;卷;账簿;名册;工作簿
vt. 预订;登记
n. (Book)人名;(中)卜(广东话·威妥玛);(朝)北;(英)布克;(瑞典)博克
```

```shell
$ dict-tiny 书
n.book;letter;script
vt.write
```
##### Translate the word in clipboard

Use `-c`/`--clipboard` to translate the word in clipboard:


```shell
$ dict-tiny -c
命令行
====
command line
```
**Note:**

* `-c`/`--clipboard` has high priority. If you add `-c` and a word at the same time, the word will be considered invalid.

##### Get more detail translation about the word

Use `-m`/`--more` to get more detail translation:

```shell
$ dict-tiny 曾经 -m
曾经
===
adv.once;ever

more detail:
======== 副词 ========
1:
(表示有过某些行为或情况) once:
He once lived in Shanghai.
他曾经在上海住过。
She has taken part in a major battle for oil.
她曾经参加过石油大会战。

```

```shell
$ dict-tiny html -m
html
=====
abbr. 超文本标记语言(Hypertext Markup Language)

more detail:
======== abbr. ========
1:
hypertext markup language 【计算机】超文本标记语言

```

**Note:**

* You can use `-c` and `-m` at the same time, which means get more detail translation about the word in clipboard.
* Some words have a lot of translation that may occupy the entire screen.



### Installation

You can install `dict-tiny` via the pip package manager.

```shell
$ pip3 install dict-tiny
```



Download files

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

Source Distribution

dict-tiny-0.2.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dict_tiny-0.2.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file dict-tiny-0.2.1.tar.gz.

File metadata

  • Download URL: dict-tiny-0.2.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dict-tiny-0.2.1.tar.gz
Algorithm Hash digest
SHA256 1e2296fd4adb827e9703b10e6fc774652aee453685d0c19193ed1cac09e9c080
MD5 3611711e6827b71cd04ee53bd1bf30be
BLAKE2b-256 110bd5e8493520f7798f723aace00039d8778cc298e634b9267fb00e080a434a

See more details on using hashes here.

File details

Details for the file dict_tiny-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dict_tiny-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d495bf0f18eec5bb5892a302a77a011bf8b9d74bd9dad8e688e06265883fbc5d
MD5 24f701530eee8ef515ed98d98523cf5f
BLAKE2b-256 4e9170c96189e6ed58a223f3063e5a1a4368de144d68412b36094ca6d8644454

See more details on using hashes here.

Release history Release notifications | RSS feed

2.1.0

2 files

2.0.0

2 files

1.3.0

2 files

1.2.1

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

This release

0.2.1 This release

2 files

0.2

2 files

0.1.1

2 files

0.0.2

2 files

Supported by

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