Uploading API

File uploading handling

Thanks https://gist.github.com/tyhoff/b757e6af83c1fd2b7b83057adf02c139 for the progress bar.

openscm_zenodo.uploading.upload_with_progress_bar(filepath, upload_url)[source]

Upload file with a progress bar

Parameters
  • filepath (str) – Path to file to upload

  • upload_url (str) – URL to put the file onto