version number: 0.0.2
Looks up for words in a stardict dictionary.
To install use pip:
$ pip install stargaze
Or clone the repo:
$ git clone https://github.com/codito/stargaze.git $ python setup.py install
>>> import stargaze
>>> d = stargaze.Dictionary("./docs/words")
>>> d.lookup("word1")
'word1_defn'
>>> # let's lookup for a synonym
... d.lookup("word1_syn1")
'word1_defn'
MIT
Pull requests are most welcome.