zenodo-pptx / README.md
Forceless's picture
Update README.md
d6a742d verified
|
raw
history blame
917 Bytes
metadata
dataset_info:
  features:
    - name: filename
      dtype: string
    - name: size
      dtype: int64
    - name: url
      dtype: string
    - name: license
      dtype: string
    - name: title
      dtype: string
    - name: created
      dtype: string
    - name: updated
      dtype: string
    - name: doi
      dtype: string
    - name: checksum
      dtype: string
  splits:
    - name: pptx
      num_bytes: 3925161
      num_examples: 10448
  download_size: 2028492
  dataset_size: 3925161
configs:
  - config_name: default
    data_files:
      - split: pptx
        path: data/pptx-*

Forceless/zenodo-pptx

Crawled from zenodo

dirname = f"zenodo-pptx/pptx/{task['license']}/{task['created'][:4]}/"
basename = f"{task['checksum'][4:]}-{task['filename']}"
filepath = dirname + basename
try:
    open('/tmp/'+basename,'wb').close()
except:
    filepath = dirname + basename[:240] + ".pptx"

Citation