Metadata-Version: 2.1
Name: eda-lucas
Version: 0.3.1
Summary: Default template for PDM package
Author-Email: lucas_hub12 <hyeonggyunbae@gmail.com>
License: MIT
Requires-Python: >=3.10
Requires-Dist: pandas>=2.2.3
Requires-Dist: president-speech>=0.9.1
Requires-Dist: typer>=0.15.1
Description-Content-Type: text/markdown

# eda-lucas
![LGTM](https://media4.giphy.com/media/kbVzENVNlE60MQR1HY/giphy.gif?cid=47028fa8js3o7vs2eja2vjbghebfxxf88a23c5oxy5yyh3ux&ep=v1_gifs&rid=giphy.gif&ct=g)

## DES
 - 대한민국 역대 대통령 연설문 모음
 - 대통령별 연설문에서 사용된 단어 확인 및 반복 횟수
 - 대통령별 keyword가 등장하는 연설문 수와 연설문 속에 해당 keyword가 나오는 횟수를 합친 결과(추가 예정) 

### USE
```bash
🦊  eda-lucas
Usage: eda-lucas [OPTIONS] KEYWORD
Try 'eda-lucas --help' for help.
╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Missing argument 'KEYWORD'.                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
🦊  eda-lucas --help

 Usage: eda-lucas [OPTIONS] KEYWORD

╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ *    keyword      TEXT  [default: None] [required]                                                                                                                                       │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --help          Show this message and exit.                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

🦊  eda-lucas 자유
president  count
      박정희    513
      이승만    438
      노태우    399
      김대중    305
      문재인    275
      김영삼    274
      이명박    262
      전두환    242
      노무현    230
      박근혜    111
      최규하     14
      윤보선      1

```

### DEV
```bah
$ source .venv/bin/activate
$ pdm add pandas
$ pdm add -dG eda jupyterlab
$ cd src/eda_lucas/cli.py 
$ vi src/eda_lucas/cli.py 
```
### pytest

```bash
$ source .venv/bin/activate
$ cd tests/test_first.py
$ vi tests/test_first.py
$ pytest
```

### EDA
- run jupyterlab 
```
$ jupyter lab
``` 

### ReF
- [install jupyterlab](https://jupyter.org/install)
- [install president-speech](https://pypi.org/project/president-speech/)
