version number: 0.0.2
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.
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d816ab7271b56a7f15618ea0d883235ff5a2610279f17791eb8480f04ce1682f
|
|
| MD5 |
7b30a034f3aa4964d3073e03e9bc7b53
|
|
| BLAKE2b-256 |
1e0dcf7e11d949d2a09b1c389fc3ae262e0800575ebc3326a6cb1de77a0a28d8
|
File details
Details for the file stargaze-0.0.2-py2.py3-none-any.whl.
File metadata
- Download URL: stargaze-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed72764b47b638684526e3cbd27f04c4a2415bb4b632ac9feaba45b976f2e033
|
|
| MD5 |
14e70ad80bee110fcb2004b234773252
|
|
| BLAKE2b-256 |
cb012c202509c42955c29a0643538f4282bd4f4d78c55a5e1c1ff91b185003de
|