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.

Source Distribution

stargaze-0.0.1.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

stargaze-0.0.1-py2.py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page