Core.Today Dataset Management Library
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
coredotdata-0.4.0.tar.gz
(9.4 kB
view details)
Built Distribution
File details
Details for the file coredotdata-0.4.0.tar.gz
.
File metadata
- Download URL: coredotdata-0.4.0.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef51b495c7fc46c1f7ce7b4f5a4bae47bee324c6b08ae2be48fa4ff0c939eb4d |
|
MD5 | 61c294356f598a6f49891832a138f96f |
|
BLAKE2b-256 | 3536f9471736d4d31d1ead0c7e09acdeb8f4366dcf1d8d2f8c993d7b2b5dda92 |
File details
Details for the file coredotdata-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: coredotdata-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25bdcf8d6ad36b2f93f6c56b2628e1505b969bacfed68a013cfa8225984c07dd |
|
MD5 | 346efdcb812c209831adabb3c694a48c |
|
BLAKE2b-256 | f06500758ad56b72003c606f402b6e6e4e6abfeb28ffe4403505be6de860dacd |