📘 Unofficial command line client for dict.cc
Switch branches/tags
Nothing to show
Clone or download
rbaron Merge pull request #14 from ploth/doubleClick
Make words double-clickable
Latest commit 431704e Oct 14, 2018

README.md

dict.cc.py

dict.cc.py usage

Simple unofficial command line interface for dict.cc written in Python 2. It supports translations between the most common languages available on the website.

Installation

dict.cc.py works with python2 and python3 and is available at pypi. All you have to do to install it is:

pip install dict.cc.py

Usage

It's super easy! Here's a quick example of using it to translate the word beer between english (en) and swedish (sv):

$ dict.cc.py en sv beer
Showing 3 of 3 result(s)

  English                                                     Swedish
  =======                                                     =======
  beer........................................................öl
  beer glass..................................................ölglas
  wheat beer..................................................veteöl

You can also search for phrases by using quotation marks:

$ dict.cc.py en sv "free beer"
Showing 10 of 50 result(s)

  English                                                     German
  =======                                                     =======
  free beer...................................................Freibier
  alcohol-free beer...........................................alkoholfreies Bier
  free as in beer.............................................frei wie in Freibier
  Beer-Lambert law............................................Lambert-Beer-Gesetz
  free agent..................................................Free Agent
  lead-free labels............................................Bleifrei-Aufkleber
  Free Birds..................................................Free Birds – Esst uns an einem anderen Tag
  beer........................................................Bier
  beer........................................................Gerstenkaltschale
  beer........................................................Gerstenlimonade
  beer........................................................Gerstensaft

Available languages include: en, de, sv, pt, it, fr, ro.

License

Public domain.