search-wikt


Namesearch-wikt JSON
Version 0.0.5 PyPI version JSON
download
home_page
SummaryA simple command-line tool for searching Wiktionary.
upload_time2023-07-07 11:04:50
maintainer
docs_urlNone
author
requires_python>=3.7
license
keywords cli wiktionary dictionary etymology
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ### Search Wiktionary

A simple command-line tool for searching English Wiktionary using Wiktionary Parser ([click](https://github.com/Suyash458/WiktionaryParser)).

Wiktionary definitions are licensed under CC BY-SA 4.0. Visit wiktionary at wiktionary.org ([click](wiktionary.org)).

This project is currently a work in progress.
#### Installation
To install, type:
```
pip install search_wikt
```
To run the program, type:
```
py -m search_wikt apricot --language English
```
or any other word or language you'd like to search. Run `py -m search_wikt -h` or `--help` for a more detailed explanation.

Alternatively, to clone the repository type:
```
git clone https://github.com/lauramvx/search_wikt
```
then `cd` to the project directory and run:
```
py src\search_wikt\__main__.py apricot --language English
```
##### Examples
```
py -m search_wikt hunig -l "Old English"
```

```
hunig
From Proto-West Germanic *hunag, from Proto-Germanic *hunagą. Cognate with Old Frisian hunig, Old Saxon honeg, and Old High German honag; also Old Norse hunang, from the alternative form *hunangą.

IPA: /ˈxu.nij/, [ˈhu.nij]
noun
huniġ n
honey
```
```
py -m search_wikt ac -l "Old English" -ex
```
```
ac 1
From Proto-Germanic *aiks.

IPA: /ɑːk/
IPA: /ɑk/
noun
āc f
oak (wood or tree)
(poetic) an oaken ship
(masculine) the runic character ᚪ (/a/)
ac 2
From Proto-Germanic *ak.

IPA: /ɑːk/
IPA: /ɑk/
conjunction
ac
but
but instead: in this sense ac should sometimes be translated as "but," but most often it is best left untranslated


Sēo æx forġiett, ac þæt trēow ġeman.The axe forgets, but  the tree remembers.
The axe forgets, but  the tree remembers.
Ne ġēotaþ wē tēaras, ac blōd.We don't shed tears, we shed blood.
We don't shed tears, we shed blood.
Nōn egō, sed tū: “Nā iċ, ac þū.” Nōn bōs est, sed equus: “Nis hit nā oxa, ac is hors.”Non ego, sed tu: “Not me, you.” Non bos est, sed equus: “It's not an ox, it's a horse.”
Non ego, sed tu: “Not me, you.” Non bos est, sed equus: “It's not an ox, it's a horse.”
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "search-wikt",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "CLI,Wiktionary,dictionary,etymology",
    "author": "",
    "author_email": "lauramvx <lesbianhouse@gmx.com>",
    "download_url": "https://files.pythonhosted.org/packages/40/c5/ace41e0557bd903a40896decc9e2334ab8d431f3edd1205606480cfc88f3/search_wikt-0.0.5.tar.gz",
    "platform": null,
    "description": "### Search Wiktionary\n\nA simple command-line tool for searching English Wiktionary using Wiktionary Parser ([click](https://github.com/Suyash458/WiktionaryParser)).\n\nWiktionary definitions are licensed under CC BY-SA 4.0. Visit wiktionary at wiktionary.org ([click](wiktionary.org)).\n\nThis project is currently a work in progress.\n#### Installation\nTo install, type:\n```\npip install search_wikt\n```\nTo run the program, type:\n```\npy -m search_wikt apricot --language English\n```\nor any other word or language you'd like to search. Run `py -m search_wikt -h` or `--help` for a more detailed explanation.\n\nAlternatively, to clone the repository type:\n```\ngit clone https://github.com/lauramvx/search_wikt\n```\nthen `cd` to the project directory and run:\n```\npy src\\search_wikt\\__main__.py apricot --language English\n```\n##### Examples\n```\npy -m search_wikt hunig -l \"Old English\"\n```\n\n```\nhunig\nFrom Proto-West Germanic *hunag, from Proto-Germanic *hunag\u0105. Cognate with Old Frisian hunig, Old Saxon honeg, and Old High German honag; also Old Norse hunang, from the alternative form *hunang\u0105.\n\nIPA: /\u02c8xu.nij/, [\u02c8hu.nij]\nnoun\nhuni\u0121\u00a0n\nhoney\n```\n```\npy -m search_wikt ac -l \"Old English\" -ex\n```\n```\nac 1\nFrom Proto-Germanic *aiks.\n\nIPA: /\u0251\u02d0k/\nIPA: /\u0251k/\nnoun\n\u0101c\u00a0f\noak (wood or tree)\n(poetic) an oaken ship\n(masculine) the runic character \u16aa (/a/)\nac 2\nFrom Proto-Germanic *ak.\n\nIPA: /\u0251\u02d0k/\nIPA: /\u0251k/\nconjunction\nac\nbut\nbut instead: in this sense ac should sometimes be translated as \"but,\" but most often it is best left untranslated\n\n\nS\u0113o \u00e6x for\u0121iett, ac \u00fe\u00e6t tr\u0113ow \u0121eman.The axe forgets, but  the tree remembers.\nThe axe forgets, but  the tree remembers.\nNe \u0121\u0113ota\u00fe w\u0113 t\u0113aras, ac bl\u014dd.We don't shed tears, we shed blood.\nWe don't shed tears, we shed blood.\nN\u014dn eg\u014d, sed t\u016b: \u201cN\u0101 i\u010b, ac \u00fe\u016b.\u201d N\u014dn b\u014ds est, sed equus: \u201cNis hit n\u0101 oxa, ac is hors.\u201dNon ego, sed tu: \u201cNot me, you.\u201d Non bos est, sed equus: \u201cIt's not an ox, it's a horse.\u201d\nNon ego, sed tu: \u201cNot me, you.\u201d Non bos est, sed equus: \u201cIt's not an ox, it's a horse.\u201d\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A simple command-line tool for searching Wiktionary.",
    "version": "0.0.5",
    "project_urls": null,
    "split_keywords": [
        "cli",
        "wiktionary",
        "dictionary",
        "etymology"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1b3a61cc0d29ae691c28e28e526aa52b5dcb739ff90b8bafccc5807c81bc0e26",
                "md5": "7522e65a65fe42d66b780d5057547aeb",
                "sha256": "d1cf1667d87bc0fa46396dba71e3f3d0729d9e3c2271bbb54a411c06e5096d26"
            },
            "downloads": -1,
            "filename": "search_wikt-0.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7522e65a65fe42d66b780d5057547aeb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 5353,
            "upload_time": "2023-07-07T11:04:49",
            "upload_time_iso_8601": "2023-07-07T11:04:49.075561Z",
            "url": "https://files.pythonhosted.org/packages/1b/3a/61cc0d29ae691c28e28e526aa52b5dcb739ff90b8bafccc5807c81bc0e26/search_wikt-0.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "40c5ace41e0557bd903a40896decc9e2334ab8d431f3edd1205606480cfc88f3",
                "md5": "611e2be89dd620985b39528c20b9ad50",
                "sha256": "c5a6cfc9fe2591fe5549be715d06f9ac35ab79848d4a1533b34b5b47afe63a08"
            },
            "downloads": -1,
            "filename": "search_wikt-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "611e2be89dd620985b39528c20b9ad50",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 4487,
            "upload_time": "2023-07-07T11:04:50",
            "upload_time_iso_8601": "2023-07-07T11:04:50.716234Z",
            "url": "https://files.pythonhosted.org/packages/40/c5/ace41e0557bd903a40896decc9e2334ab8d431f3edd1205606480cfc88f3/search_wikt-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-07 11:04:50",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "search-wikt"
}
        
Elapsed time: 0.10735s