semvec/pypi-packages huggingface dataset:
tabchen-kt 0.0.3
Finder papers
Requires Python: >=3.5

# paper finder
Find papers by keywords and venues. Then download it automatically.

## Installing
Install and update using `pip`:

```shell
pip install -U paper-finder
```

## Examples
### Search

```python
from paper_finder.api import search
keyword_list=['knowledge tracing','knowledge trace']
venue_list=['KDD','IJCAI']
output = 'kt_result.csv'
search(keyword_list=keyword_list,venue_list=venue_list,min_year=2016,max_year=2021,output=output)
```

Your can find venues' name in [there](https://dblp.org/db/journals/index.html).

### Download

```python
import pandas as pd
from paper_finder.api import download_from_df

csv_path = "kt_result.csv"
df = pd.read_csv(csv_path)
df = download_from_df(df,save_dir='pdfs')
df.to_csv(csv_path.replace('.csv','_download_result.csv'),index=False)
```


<!-- #### CLI -->
<!-- 
```shell
python search.py -k "knowledge tracing,knowledge trace" -v "KDD,IJCAI" -o data/kt_result.csv
```
- `min_year` : paper >= min_year
- `max_year` : paper<=max_year
- `k` : keywords, different keywords split use `,`
- `v` : venue, split using `,`. If `default`, will use the default venues.
- `o` : output file path -->



<!-- ### Download -->
<!-- #### CLI

```shell
python download.py -i data/kt_result.csv  -o pdfs
```
- `i` : the csv path from `search`
- `o` : the dir to save pdfs, we will create sub folder for each venue. Such as `pdfs/AIED` -->


## Todo
- [x] Search papers.
- [x] Download papers

## Author Warning
This code is only used for academic communication. 
The author has no liability for copyright. 
DO NOT ENGAGE IN ANY ILLEGAL ACTIVITIES.
**Please download and read the genuine articles from the publisher.**
example-package-pypi 1.0.0
A useful module
Requires Python: >=3.6

## 关于 pypi-demo

这是统一制品库 pypi 协议的测试工程，大家可以使用这个工程体验 Python 制品构建、上传和下载。

## 声明

社区在 2022年 1 月 1 日 已不再支持 Python2，这里使用 Python3 演示。 

## 使用方法
### 配置

在本地 ~/.pypirc 文件中写入

```
[pypi]
repository: http://localhost:8888/artifact/repositories/simple/
username: admin
password: adminTest2022
```

本地启动 artifacts 应用后默认监听 8888 端口，默认使用 simple 库。如测试联调环境，请将 localhost 替换成联调环境 ip 即可(下载时命令行参加追加 --trusted-host [联调环境ip])。

### 构建

```python3 -m build```

### 上传

```python3 -m twine upload dist/*```

### 下载

```python3 -m pip download example-pypi-package==0.0.1 -i http://localhost:8888/artifact/repositories/simple/```