Skip to main content

coredotdata

코어닷투데이의 데이터셋을 원하는 곳에 다운로드할 수 있습니다.

PyPI version GitHup issues GitHub pull requests Code style: 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 폴더에 저장됩니다)
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.

Metadata

Release files for coredotdata 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coredotdata 0.4.0
File Size Uploaded
coredotdata-0.4.0.tar.gz 9.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for coredotdata 0.4.0
File Interpreter ABI Platform
coredotdata-0.4.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 14.9 kB

Release files / coredotdata-0.4.0.tar.gz

Download URL coredotdata-0.4.0.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ef51b495c7fc46c1f7ce7b4f5a4bae47bee324c6b08ae2be48fa4ff0c939eb4d
BLAKE2b-256 checksum
How to use checksums
3536f9471736d4d31d1ead0c7e09acdeb8f4366dcf1d8d2f8c993d7b2b5dda92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13

Release files / coredotdata-0.4.0-py2.py3-none-any.whl

Download URL coredotdata-0.4.0-py2.py3-none-any.whl
Size 5.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
25bdcf8d6ad36b2f93f6c56b2628e1505b969bacfed68a013cfa8225984c07dd
BLAKE2b-256 checksum
How to use checksums
f06500758ad56b72003c606f402b6e6e4e6abfeb28ffe4403505be6de860dacd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

3 release files

0.1.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page