![screenshot](https://user-images.githubusercontent.com/16024979/162843362-4050c114-dc82-49eb-ac43-dd6cef79382a.png)
<div align="center">
<a href="https://github.com/agmmnn/nisanyan-cli">
<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/agmmnn/nisanyan-cli"></a>
<a href="https://pypi.org/project/nisanyan-cli/">
<img alt="PyPI" src="https://img.shields.io/pypi/v/nisanyan-cli"></a>
<a href="https://pepy.tech/project/nisanyan-cli">
<img alt="Total Downloads" src="https://static.pepy.tech/personalized-badge/nisanyan-cli?period=total&units=international_system&left_color=black&right_color=orange&left_text=Downloads"></a>
CLI tool for Turkish etymological dictionary, [nisanyansozluk.com](https://www.nisanyansozluk.com/).
</div>
## Install
```
pip install nisanyan-cli
```
## Usege
```
$ nis yakamoz
```
![nisanyan-cli](https://user-images.githubusercontent.com/16024979/162844886-7831aebc-8efe-4018-9df5-b26babcc1ca3.png)
### Etymology Tree (`--tree`, `-t`):
```
$ nis çikolata --tree
çikolata (Günümüz Türkçesi)
└── cioccolata (İtalyanca): kakao yağı ve şekerle imal edilen yiyecek maddesi.
└── chocolate (İspanyolca): ~.
└── xocolatl (Aztekçe): kakaodan yapılan içecek.
├── xocolli (Aztekçe): acı.
└── atl (Aztekçe): su.
```
![Etymology Tree](https://user-images.githubusercontent.com/16024979/164780578-0d51d1b1-31b6-48a4-a09e-b42aa6b6c515.png)
### Random Word (`--random`, `-r`):
```
$ nis -r -t
menekşe (Günümüz Türkçesi)
└── banafşe ‹بنفشه› (Farsça): aynı anlam.
└── vanavşag (Orta Farsça 1300—1500): aynı anlam.
└── *vana-vaxşa- (Avestaca MÖ.2000): orman otu.
└── vaxşaiti, vaxş- (Avestaca MÖ.2000): yetişmek, bitmek (bitki).
```
### Adlar (`-ad`):
```
$ nis gökçe -ad
```
<img src="https://user-images.githubusercontent.com/16024979/208524422-115cf48b-b2db-4e3e-880f-d43784ed48c6.png" alt="NisanyanAdlar" width="540"/>
Also you can use `--random`, `-r` argument with `-ad` argument: `nis -ad -r`
## Arguments
```
positional arguments:
<word>
options:
-h, --help show this help message and exit
-t, --tree show result as etymology tree
-r, --random selects a random word and brings the result
-p, --plain plain text output
-ad show result from nisanyanadlar
-v, --version show program's version number and exit
```
## TODO
- [ ] Köken metninin sitedeki gibi görünmesi için Api'dan dönen sonucun işlenmesi.
- [ ] Ek açıklama metnindeki kısaltmaların normal hallerine çevrilmesi.
## Dependencies
- [rich](https://pypi.org/project/rich/)
Raw data
{
"_id": null,
"home_page": "https://github.com/agmmnn/nisanyan-cli",
"name": "nisanyan-cli",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "synonym,antonym,thesaurus,cli",
"author": "G\u00f6k\u00e7e",
"author_email": "agmmnn@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/50/1b/358acd493927b7114c6d5c48845185340ab9359a0757734a36a80e574600/nisanyan_cli-0.4.4.tar.gz",
"platform": null,
"description": "![screenshot](https://user-images.githubusercontent.com/16024979/162843362-4050c114-dc82-49eb-ac43-dd6cef79382a.png)\n\n<div align=\"center\">\n<a href=\"https://github.com/agmmnn/nisanyan-cli\">\n<img alt=\"GitHub release (latest by date)\" src=\"https://img.shields.io/github/v/release/agmmnn/nisanyan-cli\"></a>\n<a href=\"https://pypi.org/project/nisanyan-cli/\">\n<img alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/nisanyan-cli\"></a> \n<a href=\"https://pepy.tech/project/nisanyan-cli\">\n<img alt=\"Total Downloads\" src=\"https://static.pepy.tech/personalized-badge/nisanyan-cli?period=total&units=international_system&left_color=black&right_color=orange&left_text=Downloads\"></a>\n\nCLI tool for Turkish etymological dictionary, [nisanyansozluk.com](https://www.nisanyansozluk.com/).\n\n</div>\n\n## Install\n\n```\npip install nisanyan-cli\n```\n\n## Usege\n\n```\n$ nis yakamoz\n```\n\n![nisanyan-cli](https://user-images.githubusercontent.com/16024979/162844886-7831aebc-8efe-4018-9df5-b26babcc1ca3.png)\n\n### Etymology Tree (`--tree`, `-t`):\n\n```\n$ nis \u00e7ikolata --tree\n\u00e7ikolata (G\u00fcn\u00fcm\u00fcz T\u00fcrk\u00e7esi)\n\u2514\u2500\u2500 cioccolata (\u0130talyanca): kakao ya\u011f\u0131 ve \u015fekerle imal edilen yiyecek maddesi.\n \u2514\u2500\u2500 chocolate (\u0130spanyolca): ~.\n \u2514\u2500\u2500 xocolatl (Aztek\u00e7e): kakaodan yap\u0131lan i\u00e7ecek.\n \u251c\u2500\u2500 xocolli (Aztek\u00e7e): ac\u0131.\n \u2514\u2500\u2500 atl (Aztek\u00e7e): su.\n```\n\n![Etymology Tree](https://user-images.githubusercontent.com/16024979/164780578-0d51d1b1-31b6-48a4-a09e-b42aa6b6c515.png)\n\n### Random Word (`--random`, `-r`):\n\n```\n$ nis -r -t\nmenek\u015fe (G\u00fcn\u00fcm\u00fcz T\u00fcrk\u00e7esi)\n\u2514\u2500\u2500 banaf\u015fe \u2039\u0628\u0646\u0641\u0634\u0647\u203a (Fars\u00e7a): ayn\u0131 anlam.\n \u2514\u2500\u2500 vanav\u015fag (Orta Fars\u00e7a 1300\u20141500): ayn\u0131 anlam.\n \u2514\u2500\u2500 *vana-vax\u015fa- (Avestaca M\u00d6.2000): orman otu.\n \u2514\u2500\u2500 vax\u015faiti, vax\u015f- (Avestaca M\u00d6.2000): yeti\u015fmek, bitmek (bitki).\n```\n\n### Adlar (`-ad`):\n\n```\n$ nis g\u00f6k\u00e7e -ad\n```\n\n<img src=\"https://user-images.githubusercontent.com/16024979/208524422-115cf48b-b2db-4e3e-880f-d43784ed48c6.png\" alt=\"NisanyanAdlar\" width=\"540\"/>\n\nAlso you can use `--random`, `-r` argument with `-ad` argument: `nis -ad -r`\n\n## Arguments\n\n```\npositional arguments:\n <word>\n\noptions:\n -h, --help show this help message and exit\n -t, --tree show result as etymology tree\n -r, --random selects a random word and brings the result\n -p, --plain plain text output\n -ad show result from nisanyanadlar\n -v, --version show program's version number and exit\n```\n\n## TODO\n\n- [ ] K\u00f6ken metninin sitedeki gibi g\u00f6r\u00fcnmesi i\u00e7in Api'dan d\u00f6nen sonucun i\u015flenmesi.\n- [ ] Ek a\u00e7\u0131klama metnindeki k\u0131saltmalar\u0131n normal hallerine \u00e7evrilmesi.\n\n## Dependencies\n\n- [rich](https://pypi.org/project/rich/)\n",
"bugtrack_url": null,
"license": "",
"summary": "CLI tool for Turkish etymological dictionary, nisanyansozluk.com (nis <word>)",
"version": "0.4.4",
"project_urls": {
"Bug Tracker": "https://github.com/agmmnn/nisanyan-cli/issues",
"Changelog": "https://github.com/agmmnn/nisanyan-cli/releases",
"Homepage": "https://github.com/agmmnn/nisanyan-cli",
"Repository": "https://github.com/agmmnn/nisanyan-cli",
"Source": "https://github.com/agmmnn/nisanyan-cli"
},
"split_keywords": [
"synonym",
"antonym",
"thesaurus",
"cli"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7e52db98503f2ab51ecbeb21d098ec3c29ea1bf24e5d135fda9390bb26209080",
"md5": "dcfc33ed7c9cadd06bfb60ec0f179734",
"sha256": "c40d5806da81bc8a58abed79b19add9c618fb8fc48e20b4a86c57b48b3eec806"
},
"downloads": -1,
"filename": "nisanyan_cli-0.4.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dcfc33ed7c9cadd06bfb60ec0f179734",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 12008,
"upload_time": "2023-10-08T15:37:51",
"upload_time_iso_8601": "2023-10-08T15:37:51.211201Z",
"url": "https://files.pythonhosted.org/packages/7e/52/db98503f2ab51ecbeb21d098ec3c29ea1bf24e5d135fda9390bb26209080/nisanyan_cli-0.4.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "501b358acd493927b7114c6d5c48845185340ab9359a0757734a36a80e574600",
"md5": "6500eb771f68563a0a6c6ea055888311",
"sha256": "0baf75b12dd7f7b88fe585c75772fc76e532e291ad16a0033338da6338227357"
},
"downloads": -1,
"filename": "nisanyan_cli-0.4.4.tar.gz",
"has_sig": false,
"md5_digest": "6500eb771f68563a0a6c6ea055888311",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 10795,
"upload_time": "2023-10-08T15:37:53",
"upload_time_iso_8601": "2023-10-08T15:37:53.401664Z",
"url": "https://files.pythonhosted.org/packages/50/1b/358acd493927b7114c6d5c48845185340ab9359a0757734a36a80e574600/nisanyan_cli-0.4.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-08 15:37:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "agmmnn",
"github_project": "nisanyan-cli",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "nisanyan-cli"
}