Skip to main content

Parse and query stardict dictionary files.

Project description

version number: 0.0.2

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.2.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

stargaze-0.0.2-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file stargaze-0.0.2.tar.gz.

File metadata

  • Download URL: stargaze-0.0.2.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for stargaze-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d816ab7271b56a7f15618ea0d883235ff5a2610279f17791eb8480f04ce1682f
MD5 7b30a034f3aa4964d3073e03e9bc7b53
BLAKE2b-256 1e0dcf7e11d949d2a09b1c389fc3ae262e0800575ebc3326a6cb1de77a0a28d8

See more details on using hashes here.

File details

Details for the file stargaze-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for stargaze-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ed72764b47b638684526e3cbd27f04c4a2415bb4b632ac9feaba45b976f2e033
MD5 14e70ad80bee110fcb2004b234773252
BLAKE2b-256 cb012c202509c42955c29a0643538f4282bd4f4d78c55a5e1c1ff91b185003de

See more details on using hashes here.

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