https://github.com/codito/stargaze
Stargaze looks up words in a stardict dictionary.
https://github.com/codito/stargaze
dictionary stardict
Last synced: 4 months ago
JSON representation
Stargaze looks up words in a stardict dictionary.
- Host: GitHub
- URL: https://github.com/codito/stargaze
- Owner: codito
- License: mit
- Created: 2018-04-20T01:41:48.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T07:26:40.000Z (about 3 years ago)
- Last Synced: 2025-09-29T17:29:17.496Z (5 months ago)
- Topics: dictionary, stardict
- Language: Python
- Homepage:
- Size: 53.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
stargaze
===========
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
-------
.. code-block:: python
>>> 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.
.. |Say thanks!| image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg
:target: https://saythanks.io/to/codito
.. |Build| image:: https://img.shields.io/travis/codito/stargaze.svg
:target: https://travis-ci.org/codito/stargaze