Metadata-Version: 2.1
Name: tdk
Version: 1.2.0
Summary: A library for official Turkish dictionary.
Home-page: https://github.com/efe/tdk
Author: Efe Öge
Author-email: efeoge@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.4.2
Description-Content-Type: text/markdown
Requires-Dist: requests-html
Requires-Dist: click


# tdk

[![Travis](https://img.shields.io/travis/efe/tdk.svg)](https://travis-ci.org/efe/tdk/)
[![PyPI version](https://img.shields.io/pypi/v/tdk.svg)](https://pypi.org/project/tdk/)
[![codecov](https://codecov.io/gh/efe/tdk/branch/master/graph/badge.svg)](https://codecov.io/gh/efe/tdk)
[![License](https://img.shields.io/pypi/l/tdk.svg)](https://pypi.org/project/tdk/)

A library to query meaning of Turkish word from official dictionary.


## Install
```
$ pip install tdk
```

## Requirements
Python +3.4

## Documentation 

### Command Line
```
$ tdk efe
a. 1. Yiğit, özellikle Batı Anadolu köy yiğidi, zeybek. 2. Ağabey. 3. Kabadayı: Düğünevinin avlusuna girerken yeni düze inmiş efeler gibi nara attı. -Ö. Seyfettin. 4. tar. Kaptan.
```

### Library
```python
from tdk.core import TurkishWord

word = TurkishWord('Atatürk')
word.query()
result = word.meaning

print(result)
"Cinsiyet: Erkek1. Türklerin atası. 2. Büyük kurtarıcı Gazi Mustafa Kemal Paşa'ya 1934 yılında yasayla verilmiş soyadı."
```


