Skip to main content

A tiny command-line dictionary that scrapes Just for fun.

Project description


PyPI version

Dict-tiny is a command-line utility that can translate English and Chinese words, which makes it easy to translate words from command-line interface. Just for fun :)

You can use dict-tiny in this way:

Translate an English word or Chinese word

$ dict-tiny book
book  英[bʊk][bʊk]
n. 书籍;卷;账簿;名册;工作簿
vt. 预订;登记
n. (Book)人名;()(广东话·威妥玛)()北;()
$ dict-tiny 书
书  [shū]

Translate the word in clipboard

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

$ dict-tiny -c
command line


  • -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:

$ dict-tiny 曾经 -m
曾经  [céng jīng]

more detail:
======== 副词 ========
  (表示有过某些行为或情况) once:
  He once lived in Shanghai.
  She has taken part in a major battle for oil.
$ dict-tiny dictionary -m
dictionary  英['dɪkʃ(ə)n(ə)rɪ]美['dɪkʃə'nɛri]
n. 字典;词典

more detail (collins):
======== N-COUNT 可数名词 ========
 · 词典

A dictionary is a book in which the words and phrases of a language are listed alphabetically, together with their meanings or their translations in another language.

 例: ...a Spanish-English dictionary.


  • 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.


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

$ pip3 install dict-tiny


$ pip3 install --upgrade dict-tiny

Project details

Download files

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

Files for dict-tiny, version 0.2.6
Filename, size File type Python version Upload date Hashes
Filename, size dict_tiny-0.2.6-py3-none-any.whl (8.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size dict-tiny-0.2.6.tar.gz (7.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page