GithubHelp home page GithubHelp logo

cdohara / sd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rexroni/sd

0.0 0.0 0.0 513 KB

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

License: The Unlicense

Python 100.00%

sd's Introduction

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.

sd's People

Contributors

cdohara avatar rexroni avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.