Fast command line thesaurus, written in Python

lotus 3901477ba8 try to create the lib directory if it doesnt exist 3 months ago
.gitignore 72bd98b279 fixed api issues 4 months ago
LICENSE.md 821bdca4e7 first 9 months ago
README.md 72bd98b279 fixed api issues 4 months ago
api.tar.gz 72bd98b279 fixed api issues 4 months ago
makefile 3901477ba8 try to create the lib directory if it doesnt exist 3 months ago
test_thez.py f3ffb3cf04 update tests 9 months ago
thez.1 bab5eeb8a1 added man page 9 months ago
thez.py 59c60fefbb fix env path 9 months ago

README.md

  ____ ____ ____ ____ 
 ||t |||h |||e |||z ||
 ||__|||__|||__|||__||
 |/__\|/__\|/__\|/__\|

License

Motivation

I wanted to have a quick, no frills thesaurus that I could access with the CLI. Was tired of opening a browser and navigating over to a thesaurus website. Now I never have to leave the command line again.

Prerequisites

  • Python 3
  • POSIX compatible make (i.e. GNU make, Bmake, etc.)
  • An internet connection

Shout out to @Manwholikespie for writing the included opensource thesaurus API

Installation

Simply run:

# install our dependencies
make deps # installs the thesaurus API in ~/.local
# (as root)
make install

# to uninstall
make uninstall

Usage

thez baroque          # synonyms (or explicitly use -s flag)
thez -a baroque       # antonyms
thez -o baroque       # origins of word
thez -e baroque       # use in an example sentence
thez -v               # show version information
thez -h               # show this message

TODO

  • better exception handling
  • unit tests
  • man page
  • color output

Built With

Free and Open Source software +

❤️ @ Winter Hackathon 2019 📕

License / Disclaimer

This project is licensed under the 3-clause BSD license. (See LICENSE.md) I take no responsibility for you blowing stuff up.