Metadata-Version: 2.1
Name: nisanyan-cli
Version: 0.2
Summary: CLI tool for Turkish etymological dictionary, nisanyansozluk.com. (nis <word>)
Home-page: https://github.com/agmmnn/nisanyan-cli
Author: agmmnn
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Classifier: Topic :: Utilities
Requires-Python: >=3.5
Description-Content-Type: text/markdown

![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>

CLI tool for Turkish etymological dictionary, [nisanyansozluk.com](https://www.nisanyansozluk.com/).

_Not: Site yeni gÃ¼ncellemeyle birlikte dinamik hale geldiÄŸi iÃ§in kodda da istemesem de [selenium](https://github.com/SeleniumHQ/selenium) kullanmak elzem oldu, [ChromeDriver](https://chromedriver.chromium.org/)'Ä± indirip sistem path dizinlerinden birine ya da kodu Ã§alÄ±ÅŸtÄ±rdÄ±ÄŸÄ±nÄ±z dizine kopyalamanÄ±z yeterli._

</div>

## Install

```
pip install nisanyan-cli
```

## Usege

```
$ nis yakamoz
```

![](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.
```

![](https://user-images.githubusercontent.com/16024979/163723478-b96b599f-30e0-4472-886c-3f088ba17aa7.png)

## Arguments

```
  <word>
  -h, --help     show this help message and exit
  -t, --tree     show result as etymology tree
  -v, --version  show program's version number and exit
```

## Dependencies

- [selenium](https://pypi.org/project/selenium/)
- [rich](https://pypi.org/project/rich/)

_Note: Be aware when this code was published. If the site will be updated in the future this code may not work properly._


