Last updated:
0 purchases
coredotdata 0.4.0
coredotdata
코어닷투데이의 데이터셋을 원하는 곳에 다운로드할 수 있습니다.
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 폴더에 저장됩니다)
import coredotdata as cdd
cdd.download_dataset("181I3nDWv0")
특정 디렉토리 이름을 지정하여 다운받을 수 있습니다 target_directory
import coredotdata as cdd
cdd.download_dataset("181I3nDWv0", target_directory="./AAA")
콘텐츠에 담긴 파일 목록을 조회할 수 있습니다
import coredotdata as cdd
cdd.get_dataset_file_list("15Dif81I")
원하는 파일만 선택하여 다운로드할 수 있습니다 target_file_list
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'])
다운로드 폴더의 파일 목록을 조회합니다
cdd.listdir() # "./dataset" 폴더 안의 파일 목록을 반환합니다
# cdd.listdir(target_directory="./data") # 목록 조회할 폴더를 지정합니다
# cdd.listdir(show_size=1) # 파일 크기도 같이 반환합니다
Contributors
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.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.