Skip to main content

Parse and query stargaze dictionary files.

Project description

version number: 0.0.1

Build Say thanks!

Overview

Looks up for words in a stardict dictionary.

Installation / Usage

To install use pip:

$ pip install stargaze

Or clone the repo:

$ git clone https://github.com/codito/stargaze.git
$ python setup.py install

Example

>>> import stargaze
>>> d = stargaze.Dictionary("./docs/words")
>>> d.lookup("word1")
'word1_defn'
>>> # let's lookup for a synonym
... d.lookup("word1_syn1")
'word1_defn'

License

MIT

Contributing

Pull requests are most welcome.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for stargaze, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size stargaze-0.0.1-py2.py3-none-any.whl (5.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size stargaze-0.0.1.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page