coredotdata-0.4.0
توضیحات
Core.Today Dataset Management Library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | coredotdata-0.4.0 |
| نام | coredotdata |
| نسخه کتابخانه | 0.4.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Core.Today |
| ایمیل نویسنده | engine@core.today |
| آدرس صفحه اصلی | https://github.com/CoreDotToday/coredotdata |
| آدرس اینترنتی | https://pypi.org/project/coredotdata/ |
| مجوز | Apache Software License 2.0 |
# coredotdata
### 코어닷투데이의 데이터셋을 원하는 곳에 다운로드할 수 있습니다.
[](https://badge.fury.io/py/coredotdata)
[](https://github.com/CoreDotToday/coredotdata/issues)
[](https://github.com/CoreDotToday/coredotdata/pulls)
[](https://github.com/psf/black)
----------------------------
- Free software: Apache Software License 2.0
## Installation
```
pip install coredotdata
```
```
pip install git+https://github.com/CoreDotToday/coredotdata
```
```
pip uninstall coredotdata -y
```
## Features
- 데이터셋 uid를 이용하여 다운로드 하기 (data 폴더에 저장됩니다)
```python
import coredotdata as cdd
cdd.download_dataset("181I3nDWv0")
```
- 특정 디렉토리 이름을 지정하여 다운받을 수 있습니다 `target_directory`
```python
import coredotdata as cdd
cdd.download_dataset("181I3nDWv0", target_directory="./AAA")
```
- 콘텐츠에 담긴 파일 목록을 조회할 수 있습니다
```python
import coredotdata as cdd
cdd.get_dataset_file_list("15Dif81I")
```
- 원하는 파일만 선택하여 다운로드할 수 있습니다 `target_file_list`
```python
import coredotdata as cdd
cdd.download_dataset("15Dif81I", "./data", ['AgeDataset-V1.csv.zip'])
# cdd.download_dataset("15Dif81I", target_file_list=['AgeDataset-V1.csv.zip'])
# cdd.download_dataset("15Dif81I", target_directory="./data", target_file_list=['AgeDataset-V1.csv.zip'])
```
- 다운로드 폴더의 파일 목록을 조회합니다
```python
cdd.listdir() # "./dataset" 폴더 안의 파일 목록을 반환합니다
# cdd.listdir(target_directory="./data") # 목록 조회할 폴더를 지정합니다
# cdd.listdir(show_size=1) # 파일 크기도 같이 반환합니다
```
## Contributors
<a href="https://github.com/coredottoday/coredotdata/graphs/contributors">
<img src="https://contrib.rocks/image?repo=coredottoday/coredotdata" />
</a>
## LICENSE
`coredotdata` is licensed under the terms of the Apache License 2.0.
=======
History
=======
0.4.0 (2022-07-27)
------------------
* Add `listdir` for file list of target directory
0.3.0 (2022-07-15)
------------------
* Add `target_file_list` for selected file download
0.2.1 (2022-07-11)
------------------
* Target Directory mkdir issue.
0.2.0 (2022-07-11)
------------------
* Download Schema Modified.
0.1.0 (2022-06-30)
------------------
* First release on PyPI.
نیازمندی
| مقدار | نام |
|---|---|
| >=7.0 | Click |
| - | requests |
| - | tqdm |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl coredotdata-0.4.0:
pip install coredotdata-0.4.0.whl
نصب پکیج tar.gz coredotdata-0.4.0:
pip install coredotdata-0.4.0.tar.gz