Skip to content

rexroni/sd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sd

A CLI (command-line interface) to SpanishDict.com, a popular Spanish-English dictionary.

Description:

Did you know that SpanishDict downloads over 200KB for every word lookup? What bloat! sd is a python script that reads those 200KB, parses out the junk, and nicely formats the most useful 90% of what's left for your command line viewing pleasure.

Usage:

Translate a word with sd <some word>, or conjugate a verb with sd conj <some verb>.

Check out the output of sd cat:

example

Also check out the output of sd conj tener (colorized version of nick96's code):

example2

Dependencies

sd is a python 3 script built on "BeautifulSoup 4" and "Tabulate". Dependencies can be installed by running pip3 install beautifulsoup4 and pip3 install tabulate (you might need root priviledges on your system).

Credit

The conjugation functionality was shamelessly stolen from github user nick96's "conjugate" project (although it no longer exists).

Installation:

Installation is as simple as putting the sd script somewhere on your path. On linux, /usr/local/bin would be a standard place.

About

A CLI (command-line interface) to SpanishDict.com, a popular Spanish-English dictionary.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages