Metadata-Version: 2.1
Name: navertrans
Version: 0.0.2
Summary: Thanks for NAVER
Home-page: https://github.com/LearningnRunning/NaverTrans.git
Author: learningnRunning
Author-email: max_sungrok@naver.com
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: Freeware
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Topic :: Education
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests

# NaverTrans

translator is a python package that uses the translation function of the Naver search bar. Please refrain from excessive use. 


## Installation

To install the NaverTrans library, you can use pip:

```bash
pip install navertrans
```

or

```bash
git clone https://github.com/LearningnRunning/NaverTrans.git

python setup.py install
```

## List of languages ​​available for translation

|language|language code|
|-------|--------|
|Russian | 'ru'|
|Portuguese | 'pt'|
|Japanese | 'ja'|
|Italian | 'it'|
|Vietnamese | 'vi'|
|Thai | 'th'|
|Spanish | 'es'|
|French | 'fr'|
|Hindi | 'hi'|
|German | 'de'|
|Simplified Chinese | 'zh-CN' (中文 (简体))|
|Traditional Chinese | 'zh-TW' (中文 (繁體))|

You can use these language codes when specifying the source and destination languages for translation in your NaverTrans project.

### An example of using the navertrans library
```
from navertrans import navertrans

src_txt = 'Please give a round of applause to NAVER.'
result = navertrans.translate(src_txt, src_lan="en", tar_lan= "ko")

print(result)  # Output: '네이버에게 박수 부탁드립니다.'
```

In this example, src_txt contains the text you want to translate, and the translate function is called with the default source ('en') and target ('ko') languages. The translated text is stored in the result variable, and it is printed to the console.
