Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/taranjeet/greb

GRab meaning from wEB | A python based CLI which tells meaning for a particular word
https://github.com/taranjeet/greb

Last synced: 3 months ago
JSON representation

GRab meaning from wEB | A python based CLI which tells meaning for a particular word

Awesome Lists containing this project

README

        

Greb
=====
[![PyPI version](https://badge.fury.io/py/greb.svg)](https://badge.fury.io/py/greb) [![Build Status](https://travis-ci.org/staranjeet/greb.svg?branch=master)](https://travis-ci.org/staranjeet/greb) [![Coverage Status](https://coveralls.io/repos/github/staranjeet/greb/badge.svg?branch=master)](https://coveralls.io/github/staranjeet/greb?branch=integrate-coveralls)

This python package finds the meaning for a word. It also lists the sentences,
synonyms and antonyms for a given word. If a word is misspeled, it lists the suggestion
for that word. Greb stands for Grab meaning from web.

Install
=======

* Using `pip`
```
$ pip install greb
```

* From source

```
$ git clone https://github.com/staranjeet/greb
$ cd greb
$ python setup.py install
```

Usage
=====

```
$ greb awesome

MEANING

: causing feelings of fear and wonder : causing feelings of awe
: extremely good

$ greb --rdm

# fetches a random meaning from searcher history

```

Available Options
=================

```

-l --all Lists everything
-e --sen Lists sentence
-y --syn Lists synonyms
-n --ant Lists antonyms
-d --rdm Displays a random from searched history
-t --trn Displays trending words from Merriam Webster
-w --wrd Displays the word of the day from Merriam Webster
--help Lists help
--version Lists version

```

Additional Usage
================

Greb by default saves all the words searched in a file named `meanings.json` under home directory.
One use of greb can be to display a random word from your searched history whenever a new instance
of terminal is launched. To use it in this way, one needs to configure its `bashrc` and write
`greb -d` or `greb --rdm` at the end of it.

Also greb displays trending words and word of the day from Merriam webster.

Tests
=====

To run test cases type

```
python -m test.test_greb
```

Todos
=====

License
====
Open sourced under [MIT License](LICENSE.txt)

Package Link
============

Pypi [link](https://pypi.python.org/pypi/greb)