Skip to content

Simple unofficial command line client for dict.cc

Notifications You must be signed in to change notification settings

rolfpancake/dict.cc.py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple unofficial command line client for dict.cc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 100.0%